Skip to content

Commit dbb1273

Browse files
Move win7 harvested binaries under runtimes/win/lib
* On Win10 machines NuGet is picking win7 instead of win which is technically correct. * Moving the win7 assets under win/lib/<TFM> fixes the problem.
1 parent 1950319 commit dbb1273

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/System.Private.ServiceModel/pkg/System.Private.ServiceModel.pkgproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
<ItemGroup>
88
<ProjectReference Include="..\src\System.Private.ServiceModel.csproj" />
99
<HarvestIncludePaths Include="runtimes/unix/lib/netstandard1.3" />
10-
<HarvestIncludePaths Include="runtimes/win7/lib/netstandard1.3" />
11-
<HarvestIncludePaths Include="runtimes/win7/lib/netcore50" />
10+
<HarvestIncludePaths Include="runtimes/win7/lib/netstandard1.3">
11+
<TargetPath>runtimes/win/lib/netstandard1.3</TargetPath>
12+
</HarvestIncludePaths>
13+
<HarvestIncludePaths Include="runtimes/win7/lib/netcore50">
14+
<TargetPath>runtimes/win/lib/netcore50</TargetPath>
15+
</HarvestIncludePaths>
1216
</ItemGroup>
1317
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
1418

0 commit comments

Comments
 (0)