Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

How to precomile asp.net in visual studio 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scooby - 09 Nov 2006 01:01 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, 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
Carl Daniel [VC++ MVP] - 09 Nov 2006 03:17 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,
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.