Ensure DevServer has the AspNetCore.App runtime in runtimeconfig.json (#23814)
This commit is contained in:
parent
7412976b4c
commit
90a4707de0
|
|
@ -38,4 +38,19 @@
|
|||
<NuspecProperty Include="PackageThirdPartyNoticesFile=$(PackageThirdPartyNoticesFile)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="_FixupRuntimeConfig" BeforeTargets="_GenerateRuntimeConfigurationFilesInputCache">
|
||||
<ItemGroup>
|
||||
<_RuntimeFramework Include="@(RuntimeFramework)" />
|
||||
<RuntimeFramework Remove="@(RuntimeFramework)" />
|
||||
<RuntimeFramework Include="Microsoft.AspNetCore.App" FrameworkName="Microsoft.AspNetCore.App" Version="5.0.0-preview" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_UndoRuntimeConfigWorkarounds" AfterTargets="GenerateBuildRuntimeConfigurationFiles">
|
||||
<ItemGroup>
|
||||
<RuntimeFramework Remove="@(RuntimeFramework)" />
|
||||
<RuntimeFramework Include="@(_RuntimeFramework)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue