首页 > Web开发 > 详细

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

时间:2017-03-04 00:30:50      阅读:1241      评论:0      收藏:0      [点我收藏+]

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

技术分享

修改结果:

技术分享

 

更多参考:

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

Asp.Net Core简单整理

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

原文:http://www.cnblogs.com/tianma3798/p/6498846.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!