Why does it say "The name 'xxx' does not exist in the current context"?
Why is Rider telling me that "The name 'rawDefinitions' does not exist in the current context"?
If Rider really thought that rowDefinitions didn't exist, it would highlight it in red and show it as an error, but here there is no highlight.


Please sign in to leave a comment.
Hello Stefano,
Please try `File -> Invalidate caches -> Invalidate and restart`. Does it fix the issue?
Yes, it does fix the problem.
Any idea why it happened?
Thanks
Normally, Rider caches must not get corrupted, but sometimes it happens after switching VCS branches, or major refactorings. Did you do anything of this kind before the issue appeared?
No.
I just downloaded Rider and I am playing with it to decide whether to switch from Visual Studio.
I'm going to blame this on the "it was the first time I used it and I was opening the first solution that had been created with Visual Studio and something went wrong, but won't happen again" file.
So far I'm loving Rider as much as I love PyCharm (but I don't love C# as much as I love Python.)
Thanks
Thanks, Stefano. Feel free to reach out to me if you have any other issues or questions about Rider.