473,394 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Building a solution outside of visual studio

Can you build a solution from the command prompt? like so "c:\ build
mysolution.sln" or do you always have to manually open the solution
in Visual Studio and click "build"

Second Question is if you can build from the command prompt, can you
write a program that builds a solution from the command prompt?
Say i write a program called "SolutionBuilder", and in this program i
have a button called "BuildButton" which when it is pressed will build
a solution by opening the command prompt and typing the soutions name
and the build command. has this been done or can it be done?

Aug 14 '06 #1
3 1794
Hello, Mani!

MCan you build a solution from the command prompt? like so "c:\ build
Mmysolution.sln" or do you always have to manually open the solution
Min Visual Studio and click "build"

Have a look at ( http://www.codeproject.com/dotnet/bu...ontextmenu.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Aug 14 '06 #2
Hello Mani,

Use NAnt or MSBuild tools for this. It's very popular tools to create build
servers
MCan you build a solution from the command prompt? like so "c:\ build
Mmysolution.sln" or do you always have to manually open the
Msolution in Visual Studio and click "build"
M>
MSecond Question is if you can build from the command prompt, can you
Mwrite a program that builds a solution from the command prompt?
MSay i write a program called "SolutionBuilder", and in this program i
Mhave a button called "BuildButton" which when it is pressed will
Mbuild
Ma solution by opening the command prompt and typing the soutions name
Mand the build command. has this been done or can it be done?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Aug 14 '06 #3
"Mani" <am************@hotmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Can you build a solution from the command prompt? like so "c:\ build
mysolution.sln" or do you always have to manually open the solution
in Visual Studio and click "build"
Try:

MSBUILD mysolution.sln /t:Rebuild /p:Configuration=Release
>
Second Question is if you can build from the command prompt, can you
write a program that builds a solution from the command prompt?
Say i write a program called "SolutionBuilder", and in this program i
have a button called "BuildButton" which when it is pressed will build
a solution by opening the command prompt and typing the soutions name
and the build command. has this been done or can it be done?
Try:

System.Diagnostics.Process.Start(
"MSBUILD.EXE",
"mysolution.sln /t:Rebuild /p:Configuration=Release");
Aug 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
0
by: theintrepidfox | last post by:
Dear Group I came accross a very annoying behaviour of Visual Studio, giving me six hours of headache till I found the solution. This post is mainly for fellow developers for reference as it...
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
0
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with...
12
by: michael sorens | last post by:
So I have compiled a .dll file from a Visual Studio 2005 project containing a few dozen c# files. Now I want to automate this build using ant (have not yet looked at nant, but the rest of my...
2
by: fabian.conrad | last post by:
Hi,. I am trying to build a multithreaded dll file, as I am new to that sort of things I've followed a tutorial step by step but still can't get things to work. I am using Visual C++ 2005 Express...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
12
by: Ludwig | last post by:
Hi all, we are building our own class library framework, with stuff in it that can be used in various projects at various clients. Initially we had 4 assemblies with everything in it. Of...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.