Last post Apr 12, 2007 12:19 PM by lexus_fun
Apr 05, 2007 06:23 PM|lexus_fun|LINK
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
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
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
but they are just explanations, not answers...