Avoid restoring RID specific packs that don't exist.
\n\nCommit migrated from 1826963086
This commit is contained in:
parent
427ec8a4c7
commit
3ce497f20d
|
|
@ -14,6 +14,12 @@
|
|||
<ItemGroup>
|
||||
<!-- Avoid referencing the AspNetCore framework since we want the ability to target work-in-progress shims -->
|
||||
<FrameworkReference Remove="Microsoft.AspNetCore.App" />
|
||||
|
||||
<!-- RID specific installs attempts to restore runtime packs which cause cyclical dependencies .-->
|
||||
<KnownFrameworkReference Remove="Microsoft.AspNetCore.App" />
|
||||
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App" />
|
||||
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WPF" />
|
||||
<KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WindowsForms" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||
|
|
|
|||
|
|
@ -2,11 +2,7 @@
|
|||
<Import Project="RazorTest.Introspection.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
The runtime version is only useful to restore and compile test projects, and not used to run tests.
|
||||
We'll keep it pinned to a version that has already been shipped.
|
||||
-->
|
||||
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' ">$(MicrosoftNETCoreAppRefPackageVersion)</RuntimeFrameworkVersion>
|
||||
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' ">$(MicrosoftNETCoreApp50PackageVersion)</RuntimeFrameworkVersion>
|
||||
<!-- aspnet/BuildTools#662 Don't police what version of NetCoreApp we use -->
|
||||
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue