一、在最初使用VS Code创建控制台应用时,

使用VS Code调试工具默认会跑出异常:

launch: program 'launch: launch.json must be configured. Change 'program' to the path to the executable file that you would like to debug.

异常原因:

在使用VS Code调试 .Net Core引用时,需要手动指定调试的Dll程序集

"program": "${workspaceRoot}/bin/Debug/netcoreapp1.0/exam 1.dll"

修改launch.json文件:

Visual Studio Code compile error - launch.json must be configured...

修改结果:

Visual Studio Code compile error - launch.json must be configured...

 

更多参考:

VS Code搭建.NetCore开发环境(一)

Asp.Net Core简单整理

相关文章:

  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2021-10-24
  • 2021-11-07
  • 2022-12-23
  • 2021-11-06
  • 2021-04-11
相关资源
相似解决方案