Skip to content

Commit 5423247

Browse files
committed
vswhere only finds visual studio
1 parent 1573e4e commit 5423247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/Tools/SboxBuild/Platform/WindowsPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private string FindVsDevCmdPath()
3333
using ( Process vsWhere = new Process() )
3434
{
3535
vsWhere.StartInfo.FileName = "src\\devtools\\bin\\win64\\vswhere";
36-
vsWhere.StartInfo.Arguments = "-latest -prerelease -products * -property installationPath";
36+
vsWhere.StartInfo.Arguments = "-latest -prerelease -products Microsoft.VisualStudio.Product.Enterprise Microsoft.VisualStudio.Product.Professional Microsoft.VisualStudio.Product.Community Microsoft.VisualStudio.Product.BuildTools -property installationPath";
3737
vsWhere.StartInfo.UseShellExecute = false;
3838
vsWhere.StartInfo.RedirectStandardOutput = true;
3939
vsWhere.StartInfo.CreateNoWindow = true;

0 commit comments

Comments
 (0)