I'm working on a WPF project and sometimes I get strange intellisense errors in Rider but the code itself is correct and perfectly compilable.
The error says
Module 'WindowsBase, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35' should be referenced
I found out that when I close the solution, execute "git clean -xdf" in the repository and reopen it in Rider I can get rid of this issue, well at least for temporarily as they will appear some time in the future. Unfortunately I couldn't yet determine under what circumstances they reappear, it seems random.
Although it doesn't affect compilation and the code just works it bugs me that half of the solution turns red from time to time, can anyone help me on this issue?