File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
test/Microsoft.NET.Build.Tests Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -463,6 +463,7 @@ public void ItWarnsWhenBuildingAProjectWithUseUwpProperty()
463463 TargetFrameworks = "net9.0-windows10.0.22621.0"
464464 } ;
465465 testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
466+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
466467
467468 var testAsset = _testAssetsManager . CreateTestProject ( testProject ) ;
468469
@@ -484,6 +485,7 @@ public void ItErrorsWhenTargetingBelowNet6WithUseUwpProperty()
484485 TargetFrameworks = "netstandard2.0"
485486 } ;
486487 testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
488+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
487489
488490 var testAsset = _testAssetsManager . CreateTestProject ( testProject ) ;
489491
@@ -505,6 +507,7 @@ public void ItErrorsWhenTransitivelyReferencingWindowsUIXamlReferencesWithoutUse
505507 TargetFrameworks = "net9.0-windows10.0.22621.0"
506508 } ;
507509 testProjectA . AdditionalProperties [ "UseUwp" ] = "true" ;
510+ testProjectA . AdditionalProperties [ "UseUwpTools" ] = "false" ;
508511
509512 TestProject testProjectB = new ( )
510513 {
@@ -579,6 +582,7 @@ public void ItBuildsWhenReferencingWindowsUIXamlTypesWithUseUwpProperty()
579582 }
580583 } ;
581584 testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
585+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
582586
583587 // Temporary until new projections flow to tests
584588 testProject . AdditionalProperties [ "WindowsSdkPackageVersion" ] = "10.0.22621.39" ;
You can’t perform that action at this time.
0 commit comments