problem: unable to generate assets to build and debug
- Added
omnisharp.json
file to the root folder with below content:{ "msbuild": { "useBundledOnly": true } }
-
Select the Command Palette using Ctrl + Shift + P and select the option "OmniSharp: Restart Omnisharp"
-
Using the Command Palette, select the option "NET: Generate Assets for Debug and Build"
-
The
launch.json
andtasks.json
files will be added under the.vscode
folder -
Now you should be able to debug your code