MSBuild /debug switch not coming with MSBuild v16

Viewed 107

I have set the reg key in both the location ,

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\4.0] "DebuggerEnabled"="true"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\4.0] "DebuggerEnabled"="true"

I followed this question Unable to debug msbuild

But when I am doing msbuild.exe /? I cannot see the debug switch.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>where msbuild

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

0 Answers
Related