Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.78 KB

CONTRIBUTING.md

File metadata and controls

35 lines (23 loc) · 1.78 KB

Contributing to the Windows Installer PowerShell Module

Thank you for contributing to improve this module.

Required software

You'll need to download and install the following software to build this project.

Building

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.

Testing

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.