File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 steps :
2323 - task : BatchScript@1
2424 inputs :
25- filename : " C:\\ Program Files\\ Microsoft Visual Studio\\ 2022\\ Preview \\ Common7\\ Tools\\ VsDevCmd.bat"
25+ filename : " C:\\ Program Files\\ Microsoft Visual Studio\\ 2022\\ Enterprise \\ Common7\\ Tools\\ VsDevCmd.bat"
2626 arguments : -no_logo
2727 modifyEnvironment : true
2828 displayName : Setup Environment Variables
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ void RetrieveVersion()
109109void UpdateToolsPath ( MSBuildSettings buildSettings )
110110{
111111 // Workaround for https://github.com/cake-build/cake/issues/2128
112- var vsInstallation = VSWhereLatest ( new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild" , IncludePrerelease = true } ) ;
112+ var vsInstallation = VSWhereLatest ( new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild" , IncludePrerelease = false } ) ;
113113
114114 if ( vsInstallation != null )
115115 {
@@ -268,7 +268,7 @@ Task("Test")
268268 Information ( "\n Running Unit Tests" ) ;
269269 var vswhere = VSWhereLatest ( new VSWhereLatestSettings
270270 {
271- IncludePrerelease = true
271+ IncludePrerelease = false
272272 } ) ;
273273
274274 var testSettings = new VSTestSettings
You can’t perform that action at this time.
0 commit comments