Build MSBuild Project
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Build MSBuild Project

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Build MSBuild Project

Builds a project or solution using MSBuild.

Script usage:

MSBuild::Build-Project(
	ProjectFile: <text>,
	[Configuration: <text>],
	[Platform: <text>],
	[MSBuildProperties: <@(text)>],
	[Arguments: <text>],
	[MSBuildToolsPath: <text>],
	[To: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Project file (default)
text
ProjectFile
This argument is required.
Configuration
text
Configuration
Target platform
text
Platform
MSBuild properties
@(text)
MSBuildProperties
Additional properties to pass to MSBuild, formatted as key=value pairs.
Additional arguments
text
Arguments
Raw command line arguments to pass to MSBuild.
MSBuild tools path
text
MSBuildToolsPath
Full path of the directory containing the MSBuild tools to use. This is usually similar to C:\Program Files (x86)\MSBuild\14.0\Bin. If no value is supplied, the operation will use vswhere to determine the path to the latest installation of MSBuild
Target directory
text
To

Was this article helpful?

What's Next