Reputation: 41
after opening the C# project I get
fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp-Editor.csproj
does anyone have a solution? thanks in advance
Upvotes: 4
Views: 9325
Reputation: 29
For all the people that are using newer versions of vs code and don't find the above settings, here's what you need to do:
Upvotes: 2
Reputation: 110
Close Visual Studio. In Unity go to Edit < Preferences < External Tools And make sure External Script Editor is Visual Studio so that additional checkboxes appear.
Make sure Generate all csproj files is checked, and Editor Attaching is checked
On MacOS: Check all checboxes. Click "Regenerate project files".
You may need to close and reopen Visual Studio.
Upvotes: 4
Reputation: 154
I solved this issue by doing the following on VSCode:
Original answer is here: https://stackoverflow.com/a/63603883/9337700
Upvotes: 0