Exclude native assets from Microsoft.NETCore.App
This commit is contained in:
parent
cf9075d3fc
commit
beefdd5f46
|
|
@ -169,9 +169,6 @@
|
|||
<ToDelete Include="$(SharedFxPublishDirectory)\SharedFx" />
|
||||
<ToDelete Include="$(SharedFxPublishDirectory)\SharedFx.dll" />
|
||||
<ToDelete Include="$(SharedFxPublishDirectory)\SharedFx.pdb" />
|
||||
<ToDelete Include="$(SharedFxPublishDirectory)\apphost$(ExeExtension)" />
|
||||
<ToDelete Include="$(SharedFxPublishDirectory)\$(LibPrefix)hostfxr$(LibExtension)" />
|
||||
<ToDelete Include="$(SharedFxPublishDirectory)\$(LibPrefix)hostpolicy$(LibExtension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Delete Files="@(ToDelete)" />
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="$(SharedFxPackage)" Version="$(SharedFxPackageVersion)" ExcludeAssets="Build" />
|
||||
<PackageReference Include="$(SharedFxDep)" Version="$(SharedFxDepVersion)" Condition="'$(SharedFxDep)' != ''"/>
|
||||
<PackageReference Include="Microsoft.NETCore.App" Version="$(RuntimeFrameworkVersion)"/>
|
||||
<PackageReference Include="Microsoft.NETCore.App" Version="$(RuntimeFrameworkVersion)" ExcludeAssets="Native"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="GetPackageDefinitions" Returns="@(_PackageDefinitions)">
|
||||
|
|
|
|||
Loading…
Reference in New Issue