http://blogs.msdn.com/b/visualstudio/archive/2010/07/06/debugging-msbuild-script-with-visual-studio.aspx

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\4.0 key to have debuggerenabled=true

用/debug启动msbuild

上述方法适用于4.0版本的msbuild

其他版本修改对于版本号的注册表路径debuggerenabled=true

也可以用环境变量 

set MSBUILDDEBUGONSTART=1

set MSBUILDDEBUGGING=1

相关文章:

  • 2021-06-27
  • 2021-08-05
  • 2021-08-04
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2021-11-24
  • 2021-04-02
  • 2022-02-27
  • 2022-02-16
  • 2022-02-11
  • 2021-08-11
相关资源
相似解决方案