- .NET Core 6.0 SDK
- Either:
- Visual Studio 2022, or
- Visual Studio 2022 Build Tools (install the ".NET Build Tools" component)
- Clone this repository locally
The PowerShell script build.ps1 contains functions for running standard build operations at the command line. This script assumes that .NET 6.0 SDK or newer is installed. Other dependencies tools are downloaded as needed (nuget, nunit).
Available commands:
.\build.ps1 setupinstallspythonandnugetCLI.\build.ps1 cleanruns the MSBuildcleantask.\build.ps1 buildruns the MSBuildbuildtask with several implicit steps, including NuGet restore and temporary injection of version numbers into the AssemblyInfo.cs files..\build.ps1 unittestexecutes NUnit tests in projects named*.UnitTest, which do not connect to a database..\build.ps1 integrationtestexecutes NUnit tests in projects named*.Test, which connect to a database..\build.ps1 powershelltestsexecutes NUnit Powershell Category tests in projects named*.Testwhich connect to a database..\build.ps1 buildandtestexecutes the Build, UnitTest, IntegrationTest and PowerShellTests commands..\build.ps1 packagebuilds NuGet package for the Data Import web application, installer and Data Import Transform Load application as single package..\build.ps1 pushuploads a NuGet package to the NuGet feed..\build.ps1 pushprereleaseuploads a pre-release NuGet package to the NuGet feed..\build.ps1 runlaunches the Data Import from the build script. The LaunchProfile parameter is required for running Data Import. Valid values include 'mssql' and 'pg'.
Review the parameters at the top of build.ps1 for additional commands and command line arguments.