All languages

Groovy

You're viewing a free preview. Sign in free to read every script.

Why this exists .NET has two build worlds. Modern .NET (5 and later, including .NET 8) uses the dotnet CLI. Older .NET Framework projects (Web Forms, classic MVC, WCF) need MSBuild from Visual Studio Build Tools on a…

dotnet.groovy and ms-build.groovy: .NET Build Stages

Two stage files for .NET, each exposing build (restore/compile/publish/package) and test as separate methods: dotnet.groovy for modern .NET with the dotnet CLI, and ms-build.groovy for older .NET Framework projects with MSBuild and vstest.console.exe.

Sign in free to read this script, along with the rest of the library.

Sign in free