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>
|
<ItemGroup>
|
||||||
<!-- Avoid referencing the AspNetCore framework since we want the ability to target work-in-progress shims -->
|
<!-- Avoid referencing the AspNetCore framework since we want the ability to target work-in-progress shims -->
|
||||||
<FrameworkReference Remove="Microsoft.AspNetCore.App" />
|
<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>
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,7 @@
|
||||||
<Import Project="RazorTest.Introspection.targets" />
|
<Import Project="RazorTest.Introspection.targets" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!--
|
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' ">$(MicrosoftNETCoreApp50PackageVersion)</RuntimeFrameworkVersion>
|
||||||
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>
|
|
||||||
<!-- aspnet/BuildTools#662 Don't police what version of NetCoreApp we use -->
|
<!-- aspnet/BuildTools#662 Don't police what version of NetCoreApp we use -->
|
||||||
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue