Visual Studio Code compile error --launch: program 'launch: launch.json must be configured. Change '

xiaoxiao2021-02-27  274

一、在最初使用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文件:

修改结果:

转载至:http://www.cnblogs.com/tianma3798/p/6498846.html

转载请注明原文地址: https://www.6miu.com/read-9320.html

最新回复(0)