From 1baa4ccc662d7e342d620892a394c8918643633e Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Wed, 31 Dec 2025 17:37:52 -0500 Subject: [PATCH] fix: escape * in detection service for vswhere usage --- .../Services/VSDetectionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CodingWithCalvin.VSToolbox.Core/Services/VSDetectionService.cs b/src/CodingWithCalvin.VSToolbox.Core/Services/VSDetectionService.cs index ed6828e..b8d8a0f 100644 --- a/src/CodingWithCalvin.VSToolbox.Core/Services/VSDetectionService.cs +++ b/src/CodingWithCalvin.VSToolbox.Core/Services/VSDetectionService.cs @@ -45,7 +45,7 @@ private static async Task RunVSWhereAsync(CancellationToken cancellation var startInfo = new ProcessStartInfo { FileName = VSWherePath, - Arguments = "-all -prerelease -products * -format json -utf8", + Arguments = "-all -prerelease -products \"*\" -format json -utf8", RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false,