Remove Windows.winmd in ref
authorluqunl <luqunl@LUQUN03>
Mon, 27 Aug 2018 17:21:14 +0000 (10:21 -0700)
committerluqunl <luqunl@LUQUN03>
Mon, 27 Aug 2018 17:21:14 +0000 (10:21 -0700)
Commit migrated from https://github.com/dotnet/core-setup/commit/5ae79eb1de60bc7c1b369b14a418f486bce29478

src/installer/pkg/projects/Microsoft.NETCore.App/src/Microsoft.NETCore.App.depproj

index ccb676e..7c8b478 100644 (file)
     </ItemGroup>
 
     <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' == ''">
-      <!-- Not RID-specific: include all reference files -->
-      <FilesToPackage Include="@(Reference)">
+      <!-- Not RID-specific: include all reference files except files in Microsoft.TargetingPack.Private.WinRT -->
+      <FilesToPackage Include="@(Reference)" Condition="'%(Reference.NuGetPackageId)' != 'Microsoft.TargetingPack.Private.WinRT'">
         <TargetPath>ref/$(PackageTargetFramework)</TargetPath>
       </FilesToPackage>