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

posted @ 2021-10-04 16:52  fristzzz  阅读(137)  评论(0)    收藏  举报