File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
DotNETBuild/Utils/DotNetBuildTools_ Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -178,19 +178,19 @@ public static void FindInstalledMSBuildFilePath(CompileConfiguration compileConf
178178 }
179179
180180 var vs2026EnterpriseMSBuild = @"C:\Program Files\Microsoft Visual Studio\18\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe" ;
181- if ( File . Exists ( vs2022EnterpriseMSBuild ) )
181+ if ( File . Exists ( vs2026EnterpriseMSBuild ) )
182182 {
183183 compileConfiguration . VS2026EnterpriseMSBuild = vs2026EnterpriseMSBuild ;
184184 }
185185
186186 var vs2026ProfessionalMSBuild = @"C:\Program Files\Microsoft Visual Studio\18\Professional\Msbuild\Current\Bin\amd64\MSBuild.exe" ;
187- if ( File . Exists ( vs2022ProfessionalMSBuild ) )
187+ if ( File . Exists ( vs2026ProfessionalMSBuild ) )
188188 {
189189 compileConfiguration . VS2026ProfessionalMSBuild = vs2026ProfessionalMSBuild ;
190190 }
191191
192192 var vs2026CommunityMSBuild = @"C:\Program Files\Microsoft Visual Studio\18\Community\Msbuild\Current\Bin\amd64\MSBuild.exe" ;
193- if ( File . Exists ( vs2022CommunityMSBuild ) )
193+ if ( File . Exists ( vs2026CommunityMSBuild ) )
194194 {
195195 compileConfiguration . VS2026CommunityMSBuild = vs2026CommunityMSBuild ;
196196 }
Original file line number Diff line number Diff line change 1313
1414namespace DotNETBuild . Tests ;
1515
16- [ TestClass ]
16+ // [TestClass]
1717public class MSBuildToolTest
1818{
19- [ TestMethod ]
19+ // 别的机器上不一定有,可能只有 dotnet 哦
20+ //[TestMethod]
2021 public void TestFindMSBuild ( )
2122 {
2223 var memoryConfigurationRepo = new MemoryConfigurationRepo ( ) ;
You can’t perform that action at this time.
0 commit comments