|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to precomile asp.net in visual studio 2005I'm working with VS 2005, but have an example from VS 2003 on how to
precompile the code behind into a dll. This does not work for me, since the VS 2005 now breaks up the auto generated classes into two different files. So, I can not precompile my .cs files. Any help out there on what the right procedure is for this in VS 2005? Thanks, Jim Scooby wrote:
> I'm working with VS 2005, but have an example from VS 2003 on how to ASP.NET 2.0 completely revamped the build model, going towards both extremes > precompile the code behind into a dll. This does not work for me, > since the VS 2005 now breaks up the auto generated classes into two > different files. > So, I can not precompile my .cs files. Any help out there on what > the right procedure is for this in VS 2005? from the model of ASP.NET 1.x. You can get the 1.x behavior by installing the "Web Application Project" add-in for VS 2005: http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx You can also make use of the new deployment capabilities of ASP.NET 2.0 which permit you to compile the entire website into a DLL if you wish. The easiest to make use of this feature is download and install the "Web Deployment Project" add-in for VS 2005: http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx -cd
Show quote
"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam> Sweet - thanks. I'll check it out.wrote in message news:Og2mb26AHHA.4808@TK2MSFTNGP03.phx.gbl... > Scooby wrote: >> I'm working with VS 2005, but have an example from VS 2003 on how to >> precompile the code behind into a dll. This does not work for me, >> since the VS 2005 now breaks up the auto generated classes into two >> different files. >> So, I can not precompile my .cs files. Any help out there on what >> the right procedure is for this in VS 2005? > > ASP.NET 2.0 completely revamped the build model, going towards both > extremes from the model of ASP.NET 1.x. You can get the 1.x behavior by > installing the "Web Application Project" add-in for VS 2005: > > http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx > > > You can also make use of the new deployment capabilities of ASP.NET 2.0 > which permit you to compile the entire website into a DLL if you wish. > The easiest to make use of this feature is download and install the "Web > Deployment Project" add-in for VS 2005: > > http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx > > -cd > > |
|||||||||||||||||||||||