Visual Studio 2017版本15.8.x运行某些程序会报这样的错误:“System.InvalidProgramException:公共语言运行时检测到无效程序”

此问题的临时解决方案:

1)删除vs2017\Team Tools\Performance Tools\Performance Tools目录中的vsinstr.exe,将vsinstr.legacy.exe重命名为vsinstr.exe。

2)删除vs2017\Team Tools\Performance Tools\Performance Tools\x64目录中的vsinstr.exe,将vsinstr.legacy.exe重命名为vsinstr.exe。

或者使用最新的Visual Studio 预览版,微软将会下个版本修复该问题

相关文章:

  • 2021-11-08
  • 2021-10-18
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-10-13
  • 2021-08-15
猜你喜欢
  • 2022-02-19
  • 2021-07-12
  • 2022-12-23
  • 2021-06-27
  • 2021-06-25
  • 2022-12-23
  • 2021-09-24
相关资源
相似解决方案