Skip to content

Uses Visual Studio 2008 IDE to build a solution from the command line, useful for Crestron SIMPL#

Notifications You must be signed in to change notification settings

andrew-welker/VsIdeBuild

 
 

Repository files navigation

VsIdeBuild

About

VsIdeBuild is a command line tool to automate the Visual Studio 2008 IDE to build solutions. This is necessary when GUI IDE plugins are required for the build process, for example when using Crestron's SDK.

Downloads

The latest binary release is available from https://github.com/ninjaoxygen/VsIdeBuild/releases

Contact

E-mail: chris@avsp.co.uk

Copyright

VsIdeBuild is Copyright © 2017 - 2019 AVSP Ltd

Command line parameters:

	-Solution
		Specify VS sln file to work on

	-Clean
		Cleans before build.
		This does not work with BuildProject - VS2008 only supports simple cleaning of enitre solution configurations

	-BuildAll
		Builds all solution configurations, using their project build settings for each configuration
		
	-BuildSolutionConfiguration
		Build a single solution configuration, e.g. Debug or Release

	-BuildProject
		Build a single project, also needs -BuildSolutionConfiguration to be specified

	-ShowProjectContexts
		Outputs all available project names and configurations

	-Debug
		Will not hide the Visual Studio window that is opened, will allow user interaction with that window

Examples

Build just the Debug configuration of project ConsoleApp in Sample.sln

VsIdeBuild -Solution "C:\Test\Sample.sln" -BuildSolutionConfiguration "Debug" -BuildProject "ConsoleApp"

Clean then build all configurations of all projects in Sample.sln

VsIdeBuild -Solution "C:\Test\Sample.sln" -Clean -BuildAll

Return value

0 on success

=1 on failure

License

The MIT License

Copyright © 2017 AVSP Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Uses Visual Studio 2008 IDE to build a solution from the command line, useful for Crestron SIMPL#

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%