❔ Jetbrains Rider cant resolve any symbols
I tabbed out of Rider for 10mins to watch some youtube video, i tab back into rider and see this
its even showing
void
and uint
and things like that as Cant resolve symbol
, but dotnet run works without any errors29 Replies
Restart Rider?
did that like 5 times
switched projects
changed msbuild version
restarted rider multiple times
create a new project and move all my code to that new project
nothing worked
I'm going to say you're making this actively worse, because it's probably something you've done
like i said in the post: i tabbed out of rider to watch a 10min youtube video, tabbed back in and found.... that
File
-> Invalidate Caches
except for all the other steps, of changing MSBuild version, creating a new project and moving your code
i did that after i tabbed back in
sure..... and I'm saying you're making it worse
in an attempt to fix it, i searched on google, on jetbrains forum there were a lot of people saying: change msbuild version etc, i did that and it didnt work, i changed it back and it still doesnt work
doesnt change anything
Uninstall reinstall at this point
i just restared my pc and its still not working
i reinstalled rider, and i still have the same problem
Help -> Diagnostic Tools -> Show Log in Explorer
see if there's anything useful in there
(note that it's super verbose so it's gonna be full of stuff, including unhandled exceptions, even when everything is running fine)
im just searching for error in that file right?
more like skimming it to find anything relevant
there doesnt seem to be anything too interesting
there are a few exceptions and errors, but none of them seem to relate to the problem i have
what happens when you try to build the project?
i normaly use
dotnet run
or dotnet build
from my terminal, which workand if i run dotnet run it works perfectly fine: (i added a Console.WriteLine for "Something")
but in rider i cant select the project, and there is no "run button" where the Main method is
next easy thing to try: reinstall .net sdk(s)
ok
i just opened another project by accident, and it works fine, no problems, nothing
Interesting, you mentioned that didn't work before.
ye, before it didnt
now it does
new project -> just copy over the .cs files
¯\_(ツ)_/¯
ok, so for some reason, after creating another 2 projects and copy pasting the files, then opening the original one back up, it.... works...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.