Skip to content

Commit

Permalink
Updated to stable VS 2022.
Browse files Browse the repository at this point in the history
  • Loading branch information
azchohfi committed Nov 18, 2021
1 parent 118d30e commit c6110b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- task: BatchScript@1
inputs:
filename: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\Tools\\VsDevCmd.bat"
filename: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\VsDevCmd.bat"
arguments: -no_logo
modifyEnvironment: true
displayName: Setup Environment Variables
Expand Down
4 changes: 2 additions & 2 deletions build/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void RetrieveVersion()
void UpdateToolsPath(MSBuildSettings buildSettings)
{
// Workaround for https://github.com/cake-build/cake/issues/2128
var vsInstallation = VSWhereLatest(new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild", IncludePrerelease = true });
var vsInstallation = VSWhereLatest(new VSWhereLatestSettings { Requires = "Microsoft.Component.MSBuild", IncludePrerelease = false });

if (vsInstallation != null)
{
Expand Down Expand Up @@ -268,7 +268,7 @@ Task("Test")
Information("\nRunning Unit Tests");
var vswhere = VSWhereLatest(new VSWhereLatestSettings
{
IncludePrerelease = true
IncludePrerelease = false
});

var testSettings = new VSTestSettings
Expand Down

0 comments on commit c6110b1

Please sign in to comment.