Skip to content

Commit 32c515a

Browse files
authored
Update ManagedWinRTComponentCanBeReferenced test to Windows SDK 10.0.26100.0 (#52134)
2 parents adbbd10 + 06cdcc4 commit 32c515a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildAWindowsRuntimeComponent.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,13 @@ public void ManagedWinRTComponentCanBeReferenced()
9595
var managedWinRTComponent = new TestProject()
9696
{
9797
Name = "ManagedWinRTComponent",
98-
TargetFrameworks = $"{ToolsetInfo.CurrentTargetFramework}-windows10.0.19041.0",
98+
TargetFrameworks = $"{ToolsetInfo.CurrentTargetFramework}-windows10.0.26100.0",
9999
};
100100

101-
managedWinRTComponent.AdditionalProperties.Add("CsWinRTWindowsMetadata", "10.0.19041.0");
101+
managedWinRTComponent.AdditionalProperties.Add("CsWinRTWindowsMetadata", "10.0.26100.0");
102102
managedWinRTComponent.AdditionalProperties.Add("CsWinRTComponent", "true");
103103
managedWinRTComponent.AdditionalProperties.Add("PlatformTarget", "x64");
104104

105-
// Temporary until new projections flow to tests
106-
managedWinRTComponent.AdditionalProperties["WindowsSdkPackageVersion"] = "10.0.19041.39";
107-
108105
// TODO: Update to latest (currently 2.1.1) once it shows up on dotnet-public feed
109106
managedWinRTComponent.PackageReferences.Add(new TestPackageReference("Microsoft.Windows.CsWinRT", "2.1.1"));
110107

0 commit comments

Comments
 (0)