Skip to content

Commit c6110b1

Browse files
committed
Updated to stable VS 2022.
1 parent 118d30e commit c6110b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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

build/build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void RetrieveVersion()
109109
void 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("\nRunning Unit Tests");
269269
var vswhere = VSWhereLatest(new VSWhereLatestSettings
270270
{
271-
IncludePrerelease = true
271+
IncludePrerelease = false
272272
});
273273

274274
var testSettings = new VSTestSettings

0 commit comments

Comments
 (0)