Enable roll forward in our .NET Core exes

This changes our build to mark all of our .NET Core applications as
rolling forward on major / minor versions of the .NET framework.
Presently our tools ship inside both .NET Core 2 and 3 SDKs. This
setting allows our tools to run unmodified in both settings.
上级 9424cbdd
{
"rollForwardOnNoCandidateFx": 2
}
......@@ -18,6 +18,12 @@
<!-- Place VS insertion (CoreXT) packages to a separate directory -->
<PackageOutputPath Condition="'$(IsVisualStudioInsertionPackage)' == 'true'">$(DevDivPackagesDir)</PackageOutputPath>
<!--
When building a .NET Core exe make sure to include the template runtimeconfig.json file
which has all of our global settings
-->
<UserRuntimeConfig Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(OutputType)' == 'Exe'">$(RepositoryEngineeringDir)config\runtimeconfig.template.json</UserRuntimeConfig>
</PropertyGroup>
<ItemGroup Condition="'$(Language)' == 'CSharp' and '$(TargetFramework)' == 'net20'">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册