❔ ✅ Unable to remove reference to project
please forgive my frustration..... this really shouldn't be an issue..... but for whatever reason i'm unable to remove a reference to a project. i removed the reference in the csproj file..... I know that it's still added because i'm getting ambiguity errors and when i go to re-add a reference it says i have that library already added.... even though it's not listed in the csproj file..... please.... any suggestions would be much appreciated....
7 Replies
have you tried reopening VS?
yeah, i've used VS, VS Code and Rider. can't seem to get rid of this reference. and i assume it's still there because i still keep getting these ambiguity errors.
I even deleted the sln file and readded the projects to it.
can you share the text of the csproj in question, and the error messages?
sure give me a sec.
I tried taking the logic that was inside of the Services project and putting into the Core project. but still getting these weird errors.
I see you have 4 projects referenced
Do any of the 4 reference Services?
because that's probably the issue
that, or some weird Rider cache bug, which you can try to fix with File > Invalidate caches
yeah the invalidate caches seemed to work. thanks a lot man.
was stuck on this for what felt like ages!!! xD
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.