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

遇到上述错误是因为launch.json program 路径没有配置

原始:

"program": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>",

修改后:
"program": "${workspaceRoot}/bin/Debug/netcoreapp1.1/netcore.dll",

 

打开Debug文件夹netcoreapp1.1 代替 <target-framework> ,netcore.dll 替换 <project-name.dll>即可

visual core 运行 .net core bug处理

visual core 运行 .net core bug处理

访问效果如下

visual core 运行 .net core bug处理

 

相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2022-02-05
  • 2021-05-16
  • 2019-11-01
  • 2018-08-21
  • 2021-06-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2021-10-11
  • 2021-08-08
  • 2019-03-15
相关资源
相似解决方案