roll forward
The rule by which .NET picks a newer installed version than the one requested, such as the newest 10.0.x runtime for an app built for 10.0.
In more detail
At startup an app rolls forward to the latest installed patch of its major version, so a runtime security fix protects it without a rebuild. In global.json, rollForward set to latestPatch lets the SDK move to newer patch releases but stay in the pinned feature band.
Example
"rollForward": "latestPatch"Related terms
- target framework — The project setting, such as net10.0, that names which version of the .NET API surface your code is compiled against.
- global.json — A JSON file at the root of a repository that tells the dotnet command which SDK version to use there.
- patch release — A small update to a version, such as 10.0.4 after 10.0.3, that fixes bugs and security issues without adding features.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices
- Directory.Build.props, global.json and Central Packages — Modern .NET Core, C# & Enterprise Microservices