Skip to content

Commit

Permalink
Update build.cake to support pre-release VS (dotnet#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eilon committed Apr 2, 2021
1 parent 481b2a7 commit e0b7d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ void StartVisualStudioForDotNet6(string sln = "./Microsoft.Maui-net6.sln")
Information("This target is only supported on Windows.");
return;
}
var vsLatest = VSWhereLatest();
var vsLatest = VSWhereLatest(new VSWhereLatestSettings { IncludePrerelease = true, });
if (vsLatest == null)
throw new Exception("Unable to find Visual Studio!");
var devenv = vsLatest.CombineWithFilePath("./Common7/IDE/devenv.exe");
Expand Down

0 comments on commit e0b7d31

Please sign in to comment.