What's coming in .NET Core 2.1
The preview version of .NET Core 2.1 is launched on February 27th 2018. We can start developing a .NET Core 2.1 application using Visual Studio 2017 15.6 Preview 6 or later, and also using Visual Studio Code. Let's see what is newly added to .NET Core 2.1.
- Build performance: In .NET Core 2.1, build time performance has improved. CLI tools and MSBuild have improved and are much faster than before.
- Minor version roll forward: We can run the .NET Core X.x application on later minor versions with the same major version range, such as .NET Core 2.1 applications on .NET Core 2.6. This roll forward feature is applicable to minor versions only, so 2.1 can't be automatically rolled forward to .NET Core 3.0, or any other major version. Roll forward behavior is only relevant when the expected .NET Core version is not present in the given environment. We can disable this feature using:
- Environment variable:
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=0
- runtimeconfig.json:
rollForwardOnNoCandidateFx...
- Environment variable: