We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d75b56 commit 2c61b60Copy full SHA for 2c61b60
src/utils/getMSBuildInfo.ts
@@ -19,7 +19,7 @@ export async function getMSBuildVersion(): Promise<string | undefined> {
19
const msbuildExeName = join('msbuild', CoreClrDebugUtil.getPlatformExeExtension());
20
21
try {
22
- let data = await execChildProcess(`${msbuildExeName} --version --nologo`, process.cwd(), process.env);
+ let data = await execChildProcess(`${msbuildExeName} -version -nologo`, process.cwd(), process.env);
23
const match = /^(\d+\.\d+\.\d+\.\d+)$/.exec(data);
24
if (match) {
25
_msbuildVersion = match[1];
0 commit comments