Skip to content

Commit f2d3622

Browse files
Update to use contract nuget
1 parent 4a19cd4 commit f2d3622

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Directory.Build.targets

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
<Project>
2-
3-
<PropertyGroup>
4-
<WindowsWinmdFile Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\$(TargetPlatformVersion)\Windows.winmd')">$(MSBuildProgramFiles32)\Windows Kits\10\UnionMetadata\$(TargetPlatformVersion)\Windows.winmd</WindowsWinmdFile>
5-
</PropertyGroup>
6-
7-
<ItemGroup>
8-
<Reference Update="Windows" Private="false" HintPath="$(WindowsWinmdFile)" />
9-
</ItemGroup>
102

113
<PropertyGroup>
124
<Product Condition="'$(IsTypesProject)' != 'true'">$(Product) ($(Configuration))</Product>

OSVersionHelper/OSVersionHelper.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<Reference Include="Windows" />
11+
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" PrivateAssets="all" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)