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 \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.
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.
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).
swaino
Member
211 Points
595 Posts
How do I build a web application project from command line?
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?
Rajneesh Ver...
All-Star
38344 Points
6989 Posts
Re: How do I build a web application project from command line?
Jul 07, 2010 10:45 AM|LINK
hi, check these steps.......
http://msdn.microsoft.com/en-us/library/ms165431.aspx
Thanks...
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
nizam133
Contributor
3538 Points
638 Posts
Re: How do I build a web application project from command line?
Jul 07, 2010 10:53 AM|LINK
check this link
http://codebetter.com/blogs/raymond.lewallen/archive/2005/07/20/129520.aspx
swaino
Member
211 Points
595 Posts
Re: How do I build a web application project from command line?
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
and
C:\Inetpub\wwwroot\MyProject>vwdexpress /build release MyWebsite.sln
and nothing happens??
Rajneesh Ver...
All-Star
38344 Points
6989 Posts
Re: How do I build a web application project from command line?
Jul 07, 2010 11:45 AM|LINK
hi,
as i know you are using VWD. i think thats why these features are not working.
look at below links.......................
http://forums.asp.net/t/1356849.aspx
http://answers.yahoo.com/question/index?qid=20090212061237AAi5mTu
Thanks...
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
swaino
Member
211 Points
595 Posts
Re: How do I build a web application project from command line?
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.
Rajneesh Ver...
All-Star
38344 Points
6989 Posts
Re: How do I build a web application project from command line?
Jul 08, 2010 10:55 AM|LINK
Hi,
for this you need to try.
I have VS 2008 Professional Edition its good...
hope this helps you..
Thanks...
www.rajneeshverma.com
Keep Forums Clean || Use Alert Moderators.
mhenry07
Member
2 Points
1 Post
Re: How do I build a web application project from command line?
Aug 02, 2012 07:39 AM|LINK
For VWD Express 2010 SP1, I can build via the following:
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).