I need an assistance in building web project in release mode from the command line.
I have a VS 2005 solution which consists of
web site project
web deployment project
web setup project
I can build the solution in release mode from the IDE (although web site is always built in debug mode, regardless if I set debug=true or false in web.config).
When I try to run the build from command line, the web site project build is always skipped.
I would really appreciate any help.
Thanks in advance.
VS 2005 Web Deployment ProjectsVisual Studio 2005 Web Deployment Projects
None
0 Points
2 Posts
Building web project in release mode from the command line
Apr 05, 2007 06:23 PM|lexus_fun|LINK
Hi,
I need an assistance in building web project in release mode from the command line.
I have a VS 2005 solution which consists of
I can build the solution in release mode from the IDE (although web site is always built in debug mode, regardless if I set debug=true or false in web.config).
When I try to run the build from command line, the web site project build is always skipped.
I would really appreciate any help.
Thanks in advance.
VS 2005 Web Deployment Projects Visual Studio 2005 Web Deployment Projects
Member
10 Points
3 Posts
Re: Building web project in release mode from the command line
Apr 11, 2007 02:47 PM|jtaylor1024|LINK
Did you try to right click your solution from the ide and set it to the release version in your configuration manager?
From the command line it should be like so: C:\MyProjects\MyWeb>msbuild MyWeb.wdproj
/p:Configuration=Release
None
0 Points
2 Posts
Re: Building web project in release mode from the command line
Apr 12, 2007 12:19 PM|lexus_fun|LINK
Configuration manager shows Release;
solution file has Release;
web.config has debug=false.
When I run the build in IDE I still see
Configuration: Debug Any CPU ------
but the project is built.
When I run the build from the command line (devenv /rebuild Release) the project is skipped.
I've found some explanations here http://odetocode.com/Blogs/scott/archive/2005/11/15/2464.aspx
but they are just explanations, not answers...