Groups > Asp .Net > Getting started with ASP.NET > Re: How to Compile External Projects for Release Mode




How to Compile External Projects for Release Mode

How to Compile External Projects for Release Mode
Thu, 3 Apr 2008 21:03:19 +0000
I have an asp.net applcation that uses an external project for data access.  I
am trying to compile the data access project so that it is in release mode. 
When I look at the DLLs under bin\debug and bin\release only the bin\debug is
updated.

 I looked at the properties on the external project.  Set configuration to
Release.  The build output path is automatically changed to bin\Release\. I then
saved the project and  then Build the project.  Only the DLLs in bin\debug are
changed.  If I exit VS and get back in everything is set for the debug mode --
configuration is debug and the path is bin\Debug.

 I am doing this is VS 2005.

 What am I doing wrong.

 Jay
Post Reply
Re: How to Compile External Projects for Release Mode
Thu, 3 Apr 2008 22:08:51 +0000
hi!

"Here is the most important concept to come to terms with in 2.0: Visual
Studio 2005 knows nothing about compiling a web application."

a think thiS article is just 4 you...
http://odetocode.com/Blogs/scott/archive/2005/11/15/2464.aspx

 

 

ciao ;-)
Post Reply
Re: How to Compile External Projects for Release Mode
Thu, 3 Apr 2008 22:36:55 +0000
Could be you're in the wrong screen.  Make sure you change the build
configuration in the configuration manager (Build/Configuration Manager).  One
idiosyncrasy of VS is that there is a drop down box in the application
properties page that let's you view the build settings for the application, but
doesn't actually CHANGE the active configuration - you have to do that in
Configuration Manager.
Post Reply
about | contact