RedGate.Build 4.6.232

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package RedGate.Build --version 4.6.232
NuGet\Install-Package RedGate.Build -Version 4.6.232
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RedGate.Build" Version="4.6.232" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RedGate.Build --version 4.6.232
#r "nuget: RedGate.Build, 4.6.232"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RedGate.Build as a Cake Addin
#addin nuget:?package=RedGate.Build&version=4.6.232

// Install RedGate.Build as a Cake Tool
#tool nuget:?package=RedGate.Build&version=4.6.232

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

# 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)