Thank you for contributing to improve this module.
You'll need to download and install the following software to build this project.
- NuGet - an older version can be found in the .nuget subdirectory.
- Microsoft Visual Studio 2015 or newer.
- Microsoft Modeling SDK
- Microsoft Modeling SDK for Visual Studio 2015
- Microsoft Modeling SDK for Visual Studio 2017 is an optional component under "Visual Studio extension development".
- Optional: platyPS - needed only for Release builds or to update help markdown.
- Optional: Windows Installer XML - needed only for Release builds.
You can build the Psmsi.sln in the project root using MSBuild or Visual Studio. By default, the Debug configuration is built and will not build the setup project. The Release configuration will build both setup project and nuget package.
To build the setup project and nuget package you will need to first build the help documentation from markdown.
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name platyPS -Repository PSGallery -SkipPublisherCheck -Force
New-ExternalHelp -Path .\docs -OutputPath .\src\PowerShell\bin\Release
Builds must produce no errors or warnings. PR and CI builds will ensure this.
You should run the tests in Test Explorer from within Visual Studio or using vstest.console.exe before submitting a PR. Some tests will install a basic product named "Test" but will attempt to uninstall it when completed.
Tests must all pass. PR and CI buils will ensure this.