Reputation: 9586
I'm setting up a Unity project, create source files, open them in Rider: All looks good!
I commit it all to Git, come back into Rider and all references (System
, System.Core
, UnityEditor
, UnityEngine
, etc.) go missing. Does anyone know why this happens and how to fix it?
I remember back in the old days in VS we added references from the Unity DLLs manually. Does this still need to be done? I'm asking because I think this should not happen anymore.
EDIT: Deleting the broken references and re-adding them from the DLL files doesn't help. They still show the warning icon on them afterwards. Any solutions to this issue?
Upvotes: 0
Views: 196
Reputation: 1425
Switch the Unity - Preferences - Rider - TargetFrameworkVersion checkbox. Same issue https://github.com/JetBrains/resharper-unity/issues/164
Upvotes: 1