浏览代码

Workaround https://github.com/dotnet/sdk/issues/2976

Oren Novotny 6 年之前
父节点
当前提交
cf99807eef
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Ix.NET/Source/Directory.build.targets

+ 5 - 0
Ix.NET/Source/Directory.build.targets

@@ -26,6 +26,11 @@
     <Product>$(AssemblyName) ($(TargetFramework))</Product>
     <Product>$(AssemblyName) ($(TargetFramework))</Product>
   </PropertyGroup>
   </PropertyGroup>
   
   
+  <ItemGroup>
+    <!-- Workaround https://github.com/dotnet/sdk/issues/2976 -->
+    <PackageReference Update="Microsoft.NETCore.Platforms" PrivateAssets="All" />
+  </ItemGroup>
+  
   <PropertyGroup Condition="'$(IsTestProject)' == 'true'">
   <PropertyGroup Condition="'$(IsTestProject)' == 'true'">
     <UseSourceLink>true</UseSourceLink>
     <UseSourceLink>true</UseSourceLink>
     <CoverletOutputFormat>cobertura</CoverletOutputFormat>
     <CoverletOutputFormat>cobertura</CoverletOutputFormat>