File tree 1 file changed +4
-0
lines changed
test/Microsoft.NET.Build.Tests
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -463,6 +463,7 @@ public void ItWarnsWhenBuildingAProjectWithUseUwpProperty()
463
463
TargetFrameworks = "net9.0-windows10.0.22621.0"
464
464
} ;
465
465
testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
466
+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
466
467
467
468
var testAsset = _testAssetsManager . CreateTestProject ( testProject ) ;
468
469
@@ -484,6 +485,7 @@ public void ItErrorsWhenTargetingBelowNet6WithUseUwpProperty()
484
485
TargetFrameworks = "netstandard2.0"
485
486
} ;
486
487
testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
488
+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
487
489
488
490
var testAsset = _testAssetsManager . CreateTestProject ( testProject ) ;
489
491
@@ -505,6 +507,7 @@ public void ItErrorsWhenTransitivelyReferencingWindowsUIXamlReferencesWithoutUse
505
507
TargetFrameworks = "net9.0-windows10.0.22621.0"
506
508
} ;
507
509
testProjectA . AdditionalProperties [ "UseUwp" ] = "true" ;
510
+ testProjectA . AdditionalProperties [ "UseUwpTools" ] = "false" ;
508
511
509
512
TestProject testProjectB = new ( )
510
513
{
@@ -579,6 +582,7 @@ public void ItBuildsWhenReferencingWindowsUIXamlTypesWithUseUwpProperty()
579
582
}
580
583
} ;
581
584
testProject . AdditionalProperties [ "UseUwp" ] = "true" ;
585
+ testProject . AdditionalProperties [ "UseUwpTools" ] = "false" ;
582
586
583
587
// Temporary until new projections flow to tests
584
588
testProject . AdditionalProperties [ "WindowsSdkPackageVersion" ] = "10.0.22621.39" ;
You can’t perform that action at this time.
0 commit comments