Note: This fix may also apply if you had set vscode as your unity C# script editor and intellisense with unity is not working.
If you have not read the details section of the C# extension then you will need to do so here.
Changing the OmniSharp Modern Net setting to true
This may be the only major step that you need to perform. Firstly, copy the text "omnisharp.useModernNet" and go to your vscode settings and query the search bar using the text you copied.
Make sure that the option to use Modern Net is turned off then click on the notification to restart OmniSharp if it pops up in vscode. The flame icon should now appear on the bottom left corner of the vscode interface but if its not there, restart vscode.
After restarting vscode you can click on the flame icon to open the output panel. In here you can see the status of the omnisharp server and loading of files.
Note: MSBuild and dotnet sdk will also need to be installed for the extension to work as well. On my computer I currently use the sdk version 3.1.420. MSBuild can be downloaded using the the visual studio installer under the "Individual Components" tab when modifying any visual studio release.



No comments:
Post a Comment