1. 程式人生 > >visual core 運行 .net core bug處理

visual core 運行 .net core bug處理

program visual name config ogr .net core bin figure .com

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處理