-
Notifications
You must be signed in to change notification settings - Fork 2
Visual Studio
Used to set the location of Visual Studio. If this is not called, Visual Studio is assumed to be located at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community.
visualStudioBaseDirectory: The base directory of Visual Studio. Folders named Common7 and MSBuild can be found here.
msBuildPath (optional): The path to MSBuild.exe. No need to specify this if MSBuild.exe can be found at ${visualStudioBaseDirectory}/MSBuild/Current/Bin/MSBuild.exe.
vsTestPath (optional): The path to vstest.console.exe. No need to specify this if vstest.console.exe can be found at ${visualStudioBaseDirectory}/Common7/IDE/CommonExtensions/Microsoft/TestWindow/vstest.console.exe.
Builds a solution or project.
projectPath: The path to the project or solution file.
platform (optional): The platform to build for. The project or solution's default platform by default.
configuration (optional): The configuration to build in. The project or solution's default configuration by default.
Runs tests on one or more test files.
testFile(s): The test file(s) to run. Either a string with a single test file, or a list with multiple.
platform (optional): The platform to run the tests on. Can be x86, x64 or ARM.
testNames (optional): The (partial) names of tests to run.
logger (optional): The logger to use for test results. trx by default.
additionalFlags (optional): Additional flags to use when running Visual Studio Test.
- Source Control
- Building and Testing
- Messaging
- Shipping
- Miscellaneous
- Example Pipelines