File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Tests/Microsoft.NET.Build.Tests Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -349,10 +349,16 @@ static int Last2DigitsTo0(int versionBuild)
349349 testRuntimePack . metadata [ "NuGetPackageVersion" ] . Should ( ) . Be ( "1.0.42-abc" ) ;
350350 }
351351
352- [ RequiresMSBuildVersionTheory ( "17.4.0.51802" ) ]
352+ [ Theory ]
353353 [ InlineData ( "net6.0" ) ]
354354 public void It_can_publish_runtime_specific_apps_with_library_dependencies_self_contained ( string targetFramework ) {
355355
356+ // There's a bug when using the 6.0 SDK with 17.4 but we have limited control over the VS version used in helix
357+ Version . TryParse ( TestContext . Current . ToolsetUnderTest . MSBuildVersion , out Version msbuildVersion ) ;
358+ Version . TryParse ( "17.4.0" , out Version maximumVersion ) ;
359+ if ( msbuildVersion >= maximumVersion )
360+ return ;
361+
356362 // create a basic library and a basic app, reference the library from the app and then
357363 // publish the app with a RID specified and self-contained.
358364 // verify that no warnings about missing the --self-contained flag are emitted.
You can’t perform that action at this time.
0 commit comments