A set of useful extension methods and aliases for Cake
#addin nuget:?package=Cake.Incubator&version=8.0.0
dotnet add package Cake.Incubator --version 8.0.0
<PackageReference Include="Cake.Incubator" Version="8.0.0" />
Aliases
Several extension methods when using DotNetTest.
General
ParseProject |
Parses a csproj file into a strongly typed CustomProjectParserResult object
using the specified build configuration and target platform
|
ParseProject |
Parses a csproj file into a strongly typed CustomProjectParserResult object
using the specified build configuration and default platform (AnyCpu)
|
Files
GetFiles |
Gets FilePaths using glob patterns |
GetMatchingFiles |
Returns files in the same directory that have the same file name but different extensions |
Projects
GetOutputAssemblies |
Gets the output assembly paths for solution or project files, for a specific build configuration |
GetOutputAssemblies |
Gets the output assembly paths for solution or project files, for a specific build configuration |
GetProjectAssemblies |
Gets the output assembly path for a project file, for a specific build configuration |
GetProjectAssemblies |
Gets the output assembly path for a project file, for a specific build configuration |
GetProjectAssembly |
Gets the output assembly path for a project file, for a specific build configuration |
Get |
Gets the output assembly paths for a solution file, for a specific build configuration |
Get |
Gets the output assembly paths for a solution file, for a specific build configuration |
Test
DotNetTest |
Appends XUnit2Settings to an DotNetTestSettings instance
|
DotNetTest |
Runs DotNetTest using the given XUnit2Settings
|