C
C#17mo ago
Kunikos

❔ ✅ 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
jcotton42
jcotton4217mo ago
have you tried reopening VS?
Kunikos
Kunikos17mo ago
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.
jcotton42
jcotton4217mo ago
can you share the text of the csproj in question, and the error messages?
Kunikos
Kunikos17mo ago
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.
jcotton42
jcotton4217mo ago
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
Kunikos
Kunikos17mo ago
yeah the invalidate caches seemed to work. thanks a lot man. was stuck on this for what felt like ages!!! xD
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts