Improve .NET 8 runtime and SDK detection

Setting the environment variable `DOTNET_ROLL_FORWARD_TO_PRERELEASE=1`
is required to enable runtime support for release candidate builds of
future major .NET releases.
This commit is contained in:
2023-11-14 17:00:04 +02:00
parent 8d3cb8953c
commit 3f5c92e2fa
3 changed files with 29 additions and 20 deletions

View File

@@ -3,7 +3,8 @@
"tfm": "net7.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
"version": "7.0.0",
"rollForward": "latestMajor"
}
}
}