vscode debug problem solution

problem: unable to generate assets to build and debug

  1. Added omnisharp.json file to the root folder with below content:
     { "msbuild": { "useBundledOnly": true } }
  2. Select the Command Palette using Ctrl + Shift + P and select the option "OmniSharp: Restart Omnisharp"

  3. Using the Command Palette, select the option "NET: Generate Assets for Debug and Build"

  4. The launch.json and tasks.json files will be added under the .vscode folder

  5. Now you should be able to debug your code

上一篇:2021.2.4做题小结


下一篇:【转】linux gcc _attribute__((weak)) 简介及作用