File tree Expand file tree Collapse file tree
tests/Microsoft.DotNet.Framework.Docker.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "referenceassemblies|version" : " 1.0.3" ,
1414 "servicemonitor|version" : " 2.0.1.10" ,
1515 "servicemonitor|url" : " https://github.com/microsoft/IIS.ServiceMonitor/releases/download/v$(servicemonitor|version)/ServiceMonitor.exe" ,
16- "vs|version" : " 18.0 " ,
16+ "vs|version" : " 18" ,
1717 "vs|buildToolsUrl" : " https://aka.ms/vs/stable/vs_BuildTools.exe" ,
1818 "vs|ltsc2016|version" : " 17.14" ,
1919 "vs|ltsc2016|testAgentUrl" : " https://aka.ms/vs/17/release/vs_TestAgent.exe" ,
Original file line number Diff line number Diff line change @@ -114,8 +114,14 @@ public void VerifyVsWhereOperability(ImageDescriptor imageDescriptor)
114114 Version actualVsVersion = Version . Parse ( json [ 0 ] [ "catalog" ] [ "buildVersion" ] . ToString ( ) ) ;
115115 Version expectedVsVersion = imageDescriptor . GetExpectedVsVersion ( ) ;
116116
117+ // For VS 18 and later, only verify the major version since new minor versions release monthly.
118+ // See https://learn.microsoft.com/visualstudio/releases/2026/release-notes#december-update-1810
117119 Assert . Equal ( expectedVsVersion . Major , actualVsVersion . Major ) ;
118- Assert . Equal ( expectedVsVersion . Minor , actualVsVersion . Minor ) ;
120+ // For VS versions < 18, continue to verify the minor version.
121+ if ( expectedVsVersion . Major < 18 || actualVsVersion . Major < 18 )
122+ {
123+ Assert . Equal ( expectedVsVersion . Minor , actualVsVersion . Minor ) ;
124+ }
119125 }
120126
121127 [ SkippableTheory ]
You can’t perform that action at this time.
0 commit comments