Ambiguous reference

Hello, I use plastic scm for version control. When moving to later commits, an error began to appear in the rider "Ambiguous reference". I have tried the following ways to solve it.

1.Click File/Invalidate Cachel

2. Click Build/Clean Solution

Click Build/Rebuild Solution

3. Remove files (on screen)

I no longer have any ideas how to fix this problem. Can you suggest something?

0
8 comments

Just as an idea: I once had a solution targeting different dotnet frameworks. That led to the same error and was a pain to actually find out.

0

Hello Y Danilchenko,

Thank you for contacting Rider forum.

Additional information below is required: 

  1. Could you please provide me with the full log bundle?
  2. Also, please enable an internal mode with these instructions. And then go to Tools > Internal Actions (Rider) > Dump > PSI Modules;
  3. Collect a project model dump (Tools > Internal Actions (Rider) > Dump > Project Model) (requires internal mode too);
  4. And the last, but not least, MSBuild log (Right click on the solution > Advanced build actions > Rebuild Solution with Diagnostic).

Please upload logs either to our storage https://uploads.jetbrains.com/ or to our YouTrack by creating a new issue. Provide either ID of upload or issue number.

Looking forward to hearing from you soon.

0

I've started getting the same issue. It's very frustrating to suddenly have a whole bunch of warnings appear that need to be checked.

0

Hello Nathanjwtx ,

What code triggers the ambiguous reference warnings for you? Do you have Player projects enabled in Unity Settings | External Tools | Generate .csproj files for ?

0

Sorry, I didn't realise this was specific to Unity. It happens for me in general .NET code.

0

Nathanjwtx Could you please share a sample solution that we could use to observe the reproduction on our side? 

0

Same thing happening for me on the latest version of Rider

 

0

RIDER-106393 Ambiguous references

The corresponding issue has been created on YouTrack, we will keep following up on the ticket. Please feel free to vote and click watch on the issue.

0

Please sign in to leave a comment.