RedGate.Build 4.6.222

A Powershell module that can be used in our build scripts.

Install-Package RedGate.Build -Version 4.6.222
dotnet add package RedGate.Build --version 4.6.222
<PackageReference Include="RedGate.Build" Version="4.6.222" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RedGate.Build --version 4.6.222
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

# 4.6

- Added capability to Invoke-NUnit3ForAssembly to run profiling, using RedGate.TestProfiling and dotTrace.
To use this, reference RedGate.TestProfiling in your test project, and add the [Profile] attribute to each test method you want to profile.
In your build script, add -EnableTestProfiling $true -TraceFilesPath "your output directory" to your call to Invoke-NUnit3ForAssembly.
Note that this is incomatible with code coverage - you can only specify one of -EnableCodeCoverage and -EnableTestProfiling.

# 4.5

- Added Invoke-CleanupCode to run code cleanup for the solution.
- Updated Update-NuspecDependenciesVersions.ps1 to use an exact version for Microsoft.Data.SqlClient.SNI

# 4.4

- Fixed issue that caused New-TempDir.ps1 to return prefix garbage when running in a parallel build (Build-Parallel.ps1). This was causing Invoke-DotCoverForExecutable.ps1 to fail to execute.
- Updated Update-NuspecDependenciesVersions.ps1 to use an exact version for Microsoft.Data.SqlClient

# 4.3

- Fixed issued that caused Invoke-DotCoverForExecutable.ps1 to fail if either its target executable or output file lived in a folder containing spaces.

# 4.2

- Bumped version of nuget.exe used to ver. 5
- Bumped version of Invoke-Build used to ver. 5

# 4.1

- Added -RequireRebase option to Merge-PullRequest

# 4.0

- Added initial support for using RedGate.Build on Linux.

# 3.7

- Fixed Update-NuspecDependenciesVersions.Tests to use an exact version for RedGate.Shared.SQL and System.Data.SQLite.Core.

# 3.6

- Added cmdlets to generate an ApiPort .NET Standard compatibility report.
- Added check to prevent update script from throwing when there are no Redgate packages to update in the old-style .csproj.

# 3.5

- Add commandlets to get licensed for open-source dependencies: Invoke-GetLicensesForNodeModules.ps1 and Invoke-GetLicensesForNuGetPackages.ps1.

# 3.4

- Change the way we execute dotcover in Invoke-DotCoverForExecutable.ps1 so that we handle whitespace in nunit arguments (e.g. --where="cat != SomeCategory").

# 3.3

- Added -WorkerCount parameter to Invoke-NUnit3ForAssembly, to enable you to specify how many worker threads are used for parallelizable tests.

# 3.2

- Fixed a bug in Invoke-DotCoverForExecutable.ps1 whereby we weren't correctly escaping the arguments to the covered executable.

# 3.1

- Fixed a bug in Get-NUnit3ConsoleExePath.ps1 whereby NUnit version 3.10.x was being treated that same as 3.1.

# 3.0

- Changed Invoke-NUnit3ForAssembly to always output using UTF-8.
- Updated 7-Zip from 9.20 to 18.1, and tweaked parameters to improve 7z compression size and speed.

# 2.3

- Added Test-AuthenticodeSignature for determining whether or not a file is signed.

# 2.2

- Added Set-TempDirPath, which can used to change the default location of temporary folders used by the RedGate.Build module.

# 2.1

- Added support for additional project properties in Update-ProjectProperties, and improved handling of unsupported project file formats.

# 2.0

- Removed Get-NugetPackagesFromProject and Select-PackagesMissingFromProjectsPackagesConfig, which were not used by consumers.
- Added Get-NugetPackagesFromProjects cmdlet that works in the same way as Get-NugetPackagesFromConfigFiles, but for 2017-style Visual Studio projects instead of packages.config files.
- Added -ProjectFilePaths parameter to Update-NuspecDependenciesVersions, which can be used instead of -PackagesConfigPaths if you are using 2017-style Visual Studio projects (and hence not using packages.config).

# 1.5

- Rewrite-AssemblyInfos now takes an -AssemblyVersionMajorOnly switch, which sets AssemblyVersion to be "MAJOR.0.0.0", where MAJOR is the major version of the project. AssemblyFileVersion is still always set to the full version of the project.

# 1.4

- Rewrite-AssemblyInfos now writes out AssemblyInformationalVersion attribute, and takes an -InfoVersionSuffix parameter that adds a suffix to it.

# 1.3

- Invoke-NUnit3ForAssembly now accepts the optional -Timeout parameter, which sets NUnit's --timeout option, setting a timeout for each test case in milliseconds.
- Rewrite-AssemblyInfos now preserves AssemblyTitle and CLSCompliant.

# 1.2

- New Rewrite-AssemblyInfos cmdlet that normalizes AssemblyInfo.cs files in a standardized way.

# 1.1

- Invoke-NUnit3ForAssembly now accepts the optional -ProcessIsolation parameter, which sets NUnit's --process option.

# 1.0

- Invoke-NUnitForAssembly and Invoke-NUnit3ForAssembly, when run with code coverage enabled, by default only cover the NUnit process itself, any not any subprocesses. This can be overridden using the -DotCoverProcessFilters parameter.
- -DotNotImportResultsToTeamcity has been renamed to -DoNotImportResultsToTeamcity (removing the extra t).
- Fixed issues where certain cmdlets where not working for pipelines.

# 0.6

- Update-NuspecDependenciesVersions now accepts the -SpecificVersions switch. Using the switch will use a specific version rather than a range for dependencies with three-part version numbers.
- Invoke-NUnit3ForAssembly and Invoke-DotCoverForExecutable now accept the optional -TargetWorkingDirectory parameter to specify the working directory for the tests to run in.
- Remove-IgnoredTests now supports the NUnit 3 results xml format and uses an xslt transform to perform the removal.

# 0.5

- New Update-ProjectProperties cmdlet that can be used to set various properties of a C# project file, such as Version, AssemblyVersion, FileVersion and PackageReleaseNotes. This provides an alternative to Update-AssemblyVersion as we progressively move away from using AssemblyInfo.cs files for project properties.
- Select-ReleaseNotes now preserves whitespace.

# 0.4

- Invoke-SigningService will now accept a NuGet package. The NuGet package is not directly signed itself. Instead, it is unpacked to a temporary folder, all the assembly dlls in the 'lib' sub-folder are signed by the signing service, and then the NuGet package is reassembled.

# 0.3

- Invoke-NUnitForAssembly and Invoke-NUnit3ForAssembly can now import test results in both Teamcity and VSTS [#79](https://github.com/red-gate/RedGate.Build/pull/79)
- Add support for Powershell files to Invoke-SigningService [#77](https://github.com/red-gate/RedGate.Build/pull/77)
- Add new helper functions to write integration messages to CI servers other than Teamcity [#74](https://github.com/red-gate/RedGate.Build/pull/74), [#78](https://github.com/red-gate/RedGate.Build/pull/78)
- VSTS
- Write-VSTSBuildNumber (alias: VSTS-BuildNumber)
- Write-VSTSImportNUnitReport (alias: VSTS-ImportNUnitReport)
- Write-VSTSLoggingCommand (alias: VSTS-LoggingCommand)
- Generic. (Will call the Teamcity or VSTS functions when Teamcity or VSTS is detected)
- Write-CIBuildNumber (alias CI-BuildNumber)
- Write-CIPublishArtifact (alias: CI-PublishArtifact)

# 0.2

- First version with release notes [#76](https://github.com/red-gate/RedGate.Build/pull/76)

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.6.222 53 5/27/2020
4.6.221-test-profiling 27 5/26/2020
4.6.220-test-profiling 25 5/26/2020
4.6.219-test-profiling 27 5/26/2020
4.6.218-test-profiling 28 5/26/2020
4.6.217-test-profiling 29 5/26/2020
4.6.216-test-profiling 53 5/22/2020
4.5.214-test-profiling 61 5/22/2020
4.5.213-test-profiling 77 5/22/2020
4.5.212 77 5/22/2020
4.5.211-fix-apiport-path 40 5/22/2020
4.5.210 58 5/22/2020
4.5.209-api-port 35 5/21/2020
4.5.207 204 3/18/2020
4.5.206-license-check-exclud 101 3/18/2020
4.5.205-license-check-exclud 59 3/18/2020
4.5.204-license-check-exclud 66 3/18/2020
4.5.202 73 3/17/2020
4.5.201-stricter-merge-check 97 3/11/2020
4.5.200 7,325 2/25/2020
4.5.198-cleanupcode-bump-ver 53 2/25/2020
4.5.197 172 2/21/2020
4.5.196-sni-version 124 2/21/2020
4.5.195 126 2/21/2020
4.5.194-no-bom 152 2/21/2020
4.5.192 136 2/18/2020
4.5.191-DPIAware 54 2/18/2020
4.5.190 193 2/13/2020
4.5.189-reformat-code-expose 99 2/12/2020
4.5.188-reformat-code-expose 52 2/12/2020
4.5.187 140 2/11/2020
4.5.186-moreinfo-https 72 2/11/2020
4.5.185-revert-push-force-wi 80 2/10/2020
4.5.184-revert-push-force-wi 131 2/7/2020
4.5.183 250 2/5/2020
4.5.182-cleanup-code 95 2/3/2020
4.5.181-cleanup-code 92 2/3/2020
4.5.180-cleanup-code 99 2/3/2020
4.5.179-cleanup-code 109 2/3/2020
4.5.177-cleanup-code 52 2/3/2020
4.5.176-cleanup-code 52 2/3/2020
4.5.175-cleanup-code 80 2/3/2020
4.5.174-cleanup-code 93 2/3/2020
4.4.173-cleanup-code 88 2/3/2020
4.4.171 231 1/30/2020
4.4.170 59 1/30/2020
4.4.169 150 1/28/2020
4.4.168-sqlite-wrapper-versi 102 1/27/2020
4.4.167-sqlite-wrapper-versi 100 1/27/2020
4.4.166-sqlite-wrapper-versi 65 1/27/2020
4.4.165 324 1/10/2020
4.4.164-microsoft-data-sqlcl 78 1/10/2020
4.4.163 280 1/2/2020
4.4.161-new-temp-dir-in-para 189 12/31/2019
4.4.160-new-temp-dir-in-para 195 12/31/2019
4.4.159-new-temp-dir-in-para 191 12/31/2019
4.4.158-new-temp-dir-in-para 191 12/31/2019
4.4.157-new-temp-dir-in-para 209 12/31/2019
4.4.156-new-temp-dir-in-para 217 12/31/2019
4.4.155-new-temp-dir-in-para 223 12/31/2019
4.3.154 148 12/31/2019
4.3.153-wrap-dotCover-paths- 86 12/31/2019
4.2.152-wrap-dotCover-paths- 104 12/31/2019
4.2.151 277 12/17/2019
4.2.150-bump-dependencies 70 12/16/2019
4.2.133-Get-MSBuildPath 101 10/10/2019
4.1.148 3,824 12/2/2019
4.1.147-add-labelName-parame 94 11/21/2019
4.1.146-add-labelName-parame 72 11/20/2019
4.1.145-add-labelName-parame 66 11/20/2019
4.1.143 187 11/19/2019
4.1.142-nuspec-newline 57 11/19/2019
4.1.138 5,046 10/29/2019
4.1.137-mwg-delete-branch-fa 94 10/28/2019
4.1.132 6,015 7/10/2019
4.1.131 137 7/9/2019
4.1.126 165 7/8/2019
4.1.123-add-rebase-to-merge- 285 7/3/2019
4.1.121-add-rebase-to-merge- 100 7/3/2019
4.1.120-add-rebase-to-merge- 99 7/3/2019
4.1.118-add-rebase-to-merge- 103 7/3/2019
4.1.114-add-rebase-to-merge- 129 6/28/2019
4.0.130-remoteexception 109 7/9/2019
4.0.128-remoteexception 110 7/9/2019
4.0.127-remoteexception 127 7/8/2019
4.0.125-remoteexception 97 7/3/2019
4.0.124 169 7/3/2019
4.0.122 101 7/3/2019
4.0.119 104 7/3/2019
4.0.117 102 7/3/2019
4.0.116-linux-licenses 99 7/2/2019
4.0.115-nuget-licenses-handl 98 7/2/2019
4.0.113 328 6/21/2019
4.0.112-sevenzip 102 6/21/2019
4.0.111-sevenzip 109 6/20/2019
4.0.110-sevenzip 103 6/20/2019
4.0.107 162 6/20/2019
4.0.106-linux 106 6/20/2019
4.0.100-linux 109 6/20/2019
4.0.96-linux 112 6/19/2019
4.0.94-linux 113 6/19/2019
4.0.93-linux 107 6/19/2019
3.7.92-linux 112 6/19/2019
3.7.91-linux 109 6/19/2019
3.7.84 11,487 6/19/2019
3.7.83-fix-nuspec-ranges 123 6/19/2019
3.7.74-add-rebase-to-merge- 181 6/17/2019
3.6.90-linux 110 6/19/2019
3.6.86-linux 108 6/19/2019
3.6.85-linux 109 6/19/2019
3.6.82-linux 112 6/19/2019
3.6.81-linux 112 6/19/2019
3.6.80-linux 118 6/19/2019
3.6.79-linux 110 6/19/2019
3.6.76-linux 107 6/18/2019
3.6.73 267 6/17/2019
3.6.67 669 6/4/2019
3.6.66-fix-sca-package-upda 169 6/4/2019
3.6.65-fix-sca-package-upda 140 6/4/2019
3.6.64-dotcover-investigati 136 5/30/2019
3.6.63-dotcover-investigati 143 5/30/2019
3.6.62-dotcover-investigati 141 5/30/2019
3.6.61-dotcover-investigati 141 5/30/2019
3.6.60-dotcover-investigati 139 5/30/2019
3.6.59-dotcover-investigati 138 5/30/2019
3.6.58 405 5/24/2019
3.6.57-new-apiportreport 2,431 5/24/2019
3.6.54-new-apiportreport 144 5/20/2019
3.6.53-new-apiportreport 142 5/20/2019
3.6.52-new-apiportreport 177 5/20/2019
3.6.51-new-apiportreport 136 5/20/2019
3.5.50-new-apiportreport 149 5/20/2019
3.5.47 467 5/8/2019
3.5.45-licenses-move-from-s 160 5/3/2019
3.5.44-licenses-move-from-s 162 4/29/2019
3.5.43-licenses-move-from-s 157 4/26/2019
3.5.42-licenses-move-from-s 157 4/26/2019
3.5.41-licenses-move-from-s 160 4/26/2019
3.5.40-licenses-move-from-s 163 4/26/2019
3.4.48-nunit-trace 154 5/8/2019
3.4.46 176 5/7/2019
3.4.39-licenses-move-from-s 169 4/26/2019
3.4.37 404 4/25/2019
3.4.36 180 4/25/2019
3.4.35-remove-buildcmd 184 4/25/2019
3.4.33 235 4/25/2019
3.4.31 235 4/25/2019
3.4.30-publish-to-multiple- 169 4/24/2019
3.4.28-publish-to-multiple- 169 4/24/2019
3.4.25 515 4/17/2019
3.4.24-handle-dotcover-exec 164 4/17/2019
3.4.23-handle-dotcover-exec 166 4/17/2019
3.3.22 371 4/16/2019
3.3.21-nunit-workers-count 176 4/16/2019
3.3.20-nunit-workers-count 161 4/16/2019
3.3.19-nunit-workers-count 195 4/15/2019
3.3.18-nunit-workers-count 172 4/15/2019
3.3.17-handle-dotcover-exec 227 4/15/2019
3.3.16-handle-dotcover-exec 175 4/15/2019
3.2.15 634 4/8/2019
3.2.14-fix-dotcover-argumen 172 4/8/2019
3.1.13 178 4/8/2019
3.1.12-fix-nunit-exe-locati 181 4/8/2019
3.0.11-fix-dotcover-argumen 166 4/8/2019
3.0.10-fix-nunit-exe-locati 172 4/8/2019
3.0.9-fix-nunit-exe-locati 169 4/4/2019
3.0.8 643 3/28/2019
3.0.7-update-7zip 176 3/28/2019
3.0.6-update-7zip 170 3/28/2019
3.0.3-update-7zip 181 3/28/2019
3.0.2 244 3/27/2019
3.0.1-nunit-encoding 166 3/27/2019
2.3.16-nunit-encoding 166 3/27/2019
2.3.15 367 3/25/2019
2.3.14-Test-AuthenticodeSig 163 3/25/2019
2.2.12 1,495 3/11/2019
2.2.11 415 3/6/2019
2.2.10-Set-TempDirPath 175 3/6/2019
2.1.9 460 2/28/2019
2.1.8-ZipArchive-tweaks 127 2/27/2019
2.1.7 242 2/26/2019
2.1.6-update-project-prope 175 2/26/2019
2.0.546-support-projects-as- 169 2/7/2019
2.0.545-support-projects-as- 161 2/7/2019
2.0.5-update-project-prope 171 2/26/2019
2.0.4-fix-nuget-package-si 184 2/20/2019
2.0.3-fix-nuget-package-si 178 2/12/2019
2.0.2-fix-nuget-package-si 193 2/11/2019
2.0.1-fix-nuget-package-si 180 2/11/2019
2.0.0 316 2/7/2019
1.5.544-support-projects-as- 170 2/7/2019
1.5.543-support-projects-as- 167 2/7/2019
1.5.542-support-projects-as- 173 2/7/2019
1.5.541-support-projects-as- 178 2/7/2019
1.5.540-support-projects-as- 163 2/7/2019
1.5.539-support-projects-as- 162 2/7/2019
1.5.538 6,634 1/18/2019
1.5.537 253 1/17/2019
1.5.536-allow-setting-Assemb 213 1/17/2019
1.5.535-allow-setting-Assemb 206 1/17/2019
1.4.532 280 1/11/2019
1.4.531-minor-fixes-to-Rewri 212 1/11/2019
1.4.530 245 1/11/2019
1.4.529-AssemblyInformationa 223 1/10/2019
1.3.528 258 1/8/2019
1.3.527 248 1/8/2019
1.3.526-redgatebuild-13 222 1/8/2019
1.3.525-redgatebuild-13 177 1/8/2019
1.3.524-redgatebuild-13 193 1/8/2019
1.2.523 262 1/4/2019
1.1.521-rewrite-assemblyinfo 204 1/3/2019
1.1.520-rewrite-assemblyinfo 210 1/3/2019
1.1.519-rewrite-assemblyinfo 202 1/3/2019
1.1.518-rewrite-assemblyinfo 198 1/3/2019
1.1.517-rewrite-assemblyinfo 196 1/3/2019
1.1.516-rewrite-assemblyinfo 193 1/3/2019
1.1.515-rewrite-assemblyinfo 207 1/3/2019
1.1.514-rewrite-assemblyinfo 211 1/3/2019
1.1.513-rewrite-assemblyinfo 196 1/3/2019
1.1.512-rewrite-assemblyinfo 223 1/3/2019
1.1.511 242 12/21/2018
1.1.510-nunit-process-isolat 207 12/21/2018
1.0.509-nunit-process-isolat 180 12/21/2018
1.0.508 337 12/11/2018
1.0.507-fix-pipelining 204 12/11/2018
1.0.506 226 12/10/2018
1.0.505-new-line-commit-mess 263 12/10/2018
1.0.503 248 11/26/2018
1.0.502-dotcover-only-test-r 196 11/26/2018
1.0.501 272 11/1/2018
1.0.500-dotcover-only-test-r 213 11/1/2018
0.6.499 17,507 10/25/2018
0.6.498 259 10/22/2018
0.6.497 225 10/22/2018
0.6.496 272 10/22/2018
0.6.495-windows-server-2019- 225 10/19/2018
0.6.494-delete-then-move 241 9/21/2018
0.6.493 327 9/18/2018
0.6.492 257 9/18/2018
0.6.491-removeignored-xslt 228 9/18/2018
0.6.490-removeignored-xslt 229 9/18/2018
0.6.489-removeignored-xslt 257 9/18/2018
0.6.488-removeignored-xslt 277 9/13/2018
0.6.487-removeignored-xslt 265 9/13/2018
0.6.486-removeignored-xslt 270 9/13/2018
0.6.484-removeignored-xslt 232 9/13/2018
0.6.483-removeignored-xslt 244 9/12/2018
0.6.482 301 9/11/2018
0.6.481-nUnit3Point9 244 9/11/2018
0.6.478 262 9/10/2018
0.6.477-nunit3-removeignored 241 9/10/2018
0.6.476 269 9/7/2018
0.6.475-nunit3-workingdir 227 9/7/2018
0.6.474-nunit3-workingdir 237 9/7/2018
0.6.473-nunit3-workingdir 227 9/7/2018
0.6.471 302 8/17/2018
0.6.470-force-aliases 199 8/17/2018
0.6.469 363 8/9/2018
0.6.468-nunit-framework-vers 248 8/9/2018
0.6.467 373 7/2/2018