Skip to content

Commit 1cc2bf6

Browse files
committed
Attempt to move to CsWinRT 2.1.6
1 parent 8b1cfce commit 1cc2bf6

File tree

11 files changed

+13
-66
lines changed

11 files changed

+13
-66
lines changed

src/AppInstallerCLIE2ETests/AppInstallerCLIE2ETests.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
<OutputType>Library</OutputType>
99
<DocumentationFile>$(OutDir)\AppInstallerCLIE2ETests.xml</DocumentationFile>
1010
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
11-
<!--
12-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
13-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
14-
-->
15-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1611
</PropertyGroup>
1712

1813
<PropertyGroup>
@@ -30,7 +25,7 @@
3025
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
3126
<PackageReference Include="Microsoft.Msix.Utils" Version="2.1.1" />
3227
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
33-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
28+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
3429
<PackageReference Include="nunit" Version="3.12.0" />
3530
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
3631
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />

src/ConfigurationRemotingServer/ConfigurationRemotingServer.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
1111
<SelfContained>true</SelfContained>
1212
<RuntimeIdentifiers>win10-x64;win10-x86;win10-arm;win10-arm64</RuntimeIdentifiers>
13-
<!--
14-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
15-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
16-
-->
17-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1813
</PropertyGroup>
1914

2015
<PropertyGroup Condition=" '$(Platform)' == 'x64' ">
@@ -34,7 +29,7 @@
3429
</PropertyGroup>
3530

3631
<ItemGroup>
37-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
32+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
3833
</ItemGroup>
3934

4035
<ItemGroup>

src/Microsoft.Management.Configuration.Processor/Microsoft.Management.Configuration.Processor.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
<NoWarn>1591,8785</NoWarn>
1919
<Configurations>Debug;Release;ReleaseStatic</Configurations>
2020
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
21-
<!--
22-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
23-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
24-
-->
25-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
2621
</PropertyGroup>
2722

2823
<PropertyGroup Condition="'$(Configuration)'=='Release'">
@@ -43,7 +38,7 @@
4338
</ItemGroup>
4439

4540
<ItemGroup>
46-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
41+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
4742
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.8" GeneratePathProperty="true">
4843
<ExcludeAssets>contentFiles</ExcludeAssets>
4944
</PackageReference>

src/Microsoft.Management.Configuration.Projection/Microsoft.Management.Configuration.Projection.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
99
<Configurations>Debug;Release;ReleaseStatic</Configurations>
1010
<EmbedUntrackedSources>true</EmbedUntrackedSources>
11-
<!--
12-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
13-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
14-
-->
15-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1611
</PropertyGroup>
1712

1813
<PropertyGroup>
@@ -29,7 +24,7 @@
2924
</PropertyGroup>
3025

3126
<ItemGroup>
32-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
27+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
3328
</ItemGroup>
3429

3530
<ItemGroup>

src/Microsoft.Management.Configuration.UnitTests/Microsoft.Management.Configuration.UnitTests.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<Platforms>x64;x86;arm64</Platforms>
88
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
99
<RuntimeIdentifiers>win10-x64;win10-x86;win10-arm;win10-arm64</RuntimeIdentifiers>
10-
<!--
11-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
12-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
13-
-->
14-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1510
</PropertyGroup>
1611

1712
<PropertyGroup Condition="'$(Configuration)'=='Release'">
@@ -24,7 +19,7 @@
2419
</ItemGroup>
2520

2621
<ItemGroup>
27-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
22+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
2823
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
2924
<PackageReference Include="xunit" Version="2.4.2" />
3025
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">

src/Microsoft.Management.Deployment.CsWinRTProjection/Microsoft.Management.Deployment.CsWinRTProjection.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1111
<IsAotCompatible>true</IsAotCompatible>
1212
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
13-
<!--
14-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
15-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
16-
-->
17-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1813
</PropertyGroup>
1914

2015
<PropertyGroup>
@@ -31,7 +26,7 @@
3126
</PropertyGroup>
3227

3328
<ItemGroup>
34-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
29+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
3530
</ItemGroup>
3631

3732
<ItemGroup>

src/Microsoft.Management.Deployment.Projection/Microsoft.Management.Deployment.Projection.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,10 @@
77
<Platforms>x64;x86;arm64</Platforms>
88
<OutputType>Library</OutputType>
99
<Configurations>Debug;Release;ReleaseStatic</Configurations>
10-
<!--
11-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
12-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
13-
-->
14-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1510
</PropertyGroup>
1611

1712
<ItemGroup>
18-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
13+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
1914
</ItemGroup>
2015

2116
<!-- CsWinRT properties -->

src/PowerShell/Microsoft.WinGet.Client.Cmdlets/Microsoft.WinGet.Client.Cmdlets.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
88
<DesktopFramework>net48</DesktopFramework>
99
<Configurations>Debug;Release;ReleaseStatic</Configurations>
10-
<!--
11-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
12-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
13-
-->
14-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1510
</PropertyGroup>
1611

1712
<PropertyGroup>
@@ -57,7 +52,7 @@
5752

5853
<!-- This project doesn't reference it directly, but if I don't add it here it will fail with NETSDK1130 *.winmd cannot be referenced. -->
5954
<ItemGroup Condition="'$(TargetFramework)' == '$(CoreFramework)'">
60-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
55+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
6156
</ItemGroup>
6257

6358
<ItemGroup>

src/PowerShell/Microsoft.WinGet.Client.Engine/Microsoft.WinGet.Client.Engine.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
99
<DesktopFramework>net48</DesktopFramework>
1010
<Configurations>Debug;Release;ReleaseStatic</Configurations>
11-
<!--
12-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
13-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
14-
-->
15-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
11+
<CsWinRTCcwLookupTableGeneratorEnabled>false</CsWinRTCcwLookupTableGeneratorEnabled>
1612
</PropertyGroup>
1713

1814
<PropertyGroup>
@@ -54,7 +50,7 @@
5450
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
5551
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
5652
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" Condition="'$(TargetFramework)' == '$(DesktopFramework)'" />
57-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" Condition="'$(TargetFramework)' == '$(CoreFramework)'" />
53+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" Condition="'$(TargetFramework)' == '$(CoreFramework)'" />
5854
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.22000.196" PrivateAssets="all" Condition="'$(TargetFramework)' == '$(DesktopFramework)'" />
5955
<PackageReference Include="System.Net.Http" Version="4.3.4" Condition="'$(TargetFramework)' == '$(DesktopFramework)'" />
6056
</ItemGroup>

src/PowerShell/Microsoft.WinGet.Configuration.Cmdlets/Microsoft.WinGet.Configuration.Cmdlets.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
<BuildOutputDirectory>$(SolutionDir)$(Platform)\$(Configuration)\</BuildOutputDirectory>
1212
<RootNamespace>Microsoft.WinGet.Configuration</RootNamespace>
1313
<Configurations>Debug;Release;ReleaseStatic</Configurations>
14-
<!--
15-
Forcing this version to continue using an older CsWinRT release while issues are resolved.
16-
!!! Remove this on the next Microsoft.Windows.CsWinRT package version update. !!!
17-
-->
18-
<WindowsSdkPackageVersion>10.0.22000.34</WindowsSdkPackageVersion>
1914
</PropertyGroup>
2015

2116
<PropertyGroup Condition="'$(Configuration)'=='Release'">
@@ -48,7 +43,7 @@
4843
</PropertyGroup>
4944

5045
<ItemGroup>
51-
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
46+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" />
5247
</ItemGroup>
5348

5449
<ItemGroup>

0 commit comments

Comments
 (0)