> 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
Scooby - 09 Nov 2006 22:44 GMT
>> 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,
[quoted text clipped - 17 lines]
>
> -cd
Sweet - thanks. I'll check it out.