How to precomile asp.net in visual studio 2005

  • Thread starter Thread starter Scooby
  • Start date Start date
S

Scooby

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?

Thanks,

Jim
 
Scooby said:
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
 
Carl Daniel said:
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

Sweet - thanks. I'll check it out.
 
Back
Top