Click here to Skip to main content
14,869,890 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am using VS2010.
I want to build my project from the command line.

I am using msbuild (.NET 4.0) command.
How do I specify project output file mode(Release\Debug)??
Posted
Updated 30-Jan-11 20:44pm
v2

1 solution

Have a look at the properties section as described here[^].

Properties="Configuration=Debug;"
   
Comments
Debojyoti Majumder 31-Jan-11 2:53am
   
Many thanks.
Can you show how to use it in the command line??
Abhinav S 31-Jan-11 3:11am
   
See http://msdn.microsoft.com/en-us/library/ms164311.aspx
Debojyoti Majumder 31-Jan-11 3:24am
   
Many thanks..
It helped a lot.
Abhinav S 31-Jan-11 3:35am
   
You are welcome.
   
Correct answer - a 5.
(I would also show a command line, as I have a sample; hope your reference shows it, too.)
--SA
Abhinav S 31-Jan-11 3:35am
   
The first link does not have a command line example included, but the second one does.
Thanks for the 5. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900