Divine.Sdk
2.1.2
dotnet add package Divine.Sdk --version 2.1.2
NuGet\Install-Package Divine.Sdk -Version 2.1.2
<PackageReference Include="Divine.Sdk" Version="2.1.2" />
<PackageVersion Include="Divine.Sdk" Version="2.1.2" />
<PackageReference Include="Divine.Sdk" />
paket add Divine.Sdk --version 2.1.2
#r "nuget: Divine.Sdk, 2.1.2"
#:package Divine.Sdk@2.1.2
#addin nuget:?package=Divine.Sdk&version=2.1.2
#tool nuget:?package=Divine.Sdk&version=2.1.2
Divine.Sdk
Build with automatic SDK updates
On Windows, use build-sdk-update.cmd instead of dotnet build when the build should automatically restart after a global.json update:
build-sdk-update.cmd path\to\project.csproj -c Release
build-sdk-update.cmd path\to\solution.slnx -c Release
The command forwards the build arguments unchanged and sets DivineSdkAutoRestart=true. It retries only the SDK update signal DIVSDK001, up to three attempts. Other build failures are returned immediately. Each retry starts a new dotnet build process so the updated SDK configuration is loaded before project evaluation.
The loaded Divine SDK version is printed from its task assembly's version, which comes from the project's Version property in four-part numeric format. The .NET SDK version comes from MSBuild. When an SDK configuration update triggers a retry, the previous attempt's SDK versions and changes are printed before restarting; the final attempt prints its loaded versions again.
The output of the final attempt and its exit code are returned. Output is buffered while each attempt runs. Temporary build logs are deleted when the command finishes normally.
The NuGet package includes this command at tools/build-sdk-update.cmd. A plain dotnet build continues without an automatic restart; SDK updates take effect on the next build.
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 |
|---|---|---|
| 2.1.2 | 0 | 10/3/2026 |
| 2.1.0 | 91 | 9/26/2026 |
| 2.0.0 | 75 | 9/26/2026 |
| 1.9.1 | 80 | 9/26/2026 |
| 1.9.1-dev.161 | 44 | 9/26/2026 |
| 1.9.0 | 106 | 9/24/2026 |
| 1.9.0-dev.160 | 43 | 9/26/2026 |
| 1.7.2 | 105 | 9/11/2026 |
| 1.7.1 | 95 | 9/10/2026 |
| 1.7.0 | 111 | 9/8/2026 |
| 1.6.4 | 98 | 9/6/2026 |
| 1.6.3 | 104 | 8/31/2026 |
| 1.6.2 | 105 | 8/23/2026 |
| 1.6.0 | 106 | 8/19/2026 |
| 1.5.2 | 106 | 8/18/2026 |
| 1.5.1 | 122 | 8/17/2026 |
| 1.5.0 | 110 | 8/17/2026 |
| 1.4.6 | 103 | 8/14/2026 |
| 1.4.5 | 102 | 8/14/2026 |
| 1.4.4 | 97 | 8/8/2026 |