Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 02, 2012 07:39 AM by mhenry07
Jul 07, 2010 10:35 AM|LINK
How do I build a web application project from command line using Web Developer Express 2010?
I am using the same command format that I would use with devenv.exe (Visual Studio), so I can evaluate us moving forward to VS2010. However, I am having real trouble building our code. Our solution consists of 4-5 projects, consisting of assemblies. The
last assembly is the web site code. The root .sln file is the one which when opening in the IDE can click Rebuild All, and the DLL's of each project are generated and then brought into the website project.
However, when I run vwdexpress.exe from the command line nothing happens and no Dlls are generated. This is not giving me any confidence to run with VS2010.
the command line is like so:
C:\inetpub\wwwroot\myproject\vwdexpress /build release mysolution.sln
The \bin folders of each respective project are empty, but it takes 3-4 seconds for the command to finish, which gives me the impression it did something.
What am I doing wrong?
Jul 07, 2010 10:45 AM|LINK
hi, check these steps.......
Jul 07, 2010 10:53 AM|LINK
check this link
Jul 07, 2010 11:30 AM|LINK
I tried this using the above link: on the command prompt
C:\Inetpub\wwwroot\MyProject>vwdexpress /build release /project MyWebsite MyWebsite.sln
C:\Inetpub\wwwroot\MyProject>vwdexpress /build release MyWebsite.sln
and nothing happens??
Jul 07, 2010 11:45 AM|LINK
as i know you are using VWD. i think thats why these features are not working.
look at below links.......................
Jul 08, 2010 09:20 AM|LINK
Maybe vwdexpress doesn't work correctly from the command line, I installed a trial version of VS2010 which does have devenv.exe and this seems to work better.
Jul 08, 2010 10:55 AM|LINK
for this you need to try.
I have VS 2008 Professional Edition its good...
hope this helps you..
Aug 02, 2012 07:39 AM|LINK
For VWD Express 2010 SP1, I can build via the following:
vwdexpress mysolution.sln /build release
I think the solution file has to be the first argument. This assumes vwdexpress.exe is in your path or you specify the path (for me it's at C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE). You can also use /rebuild, /clean, etc.
Note: if you are using Git Bash, you have to use two slashes for parameters (like //build).