C
Join ServerC#
help
❔ Jetbrains Rider cant resolve any symbols
TTerrificTable551/3/2023
I tabbed out of Rider for 10mins to watch some youtube video, i tab back into rider and see this
its even showing
its even showing
void
and uint
and things like that as Cant resolve symbol
, but dotnet run works without any errors
Ppatrickk1/3/2023
Restart Rider?
TTerrificTable551/3/2023
did that like 5 times
TTerrificTable551/3/2023
switched projects
TTerrificTable551/3/2023
changed msbuild version
TTerrificTable551/3/2023
restarted rider multiple times
TTerrificTable551/3/2023
create a new project and move all my code to that new project
TTerrificTable551/3/2023
nothing worked
Ppatrickk1/3/2023
I'm going to say you're making this actively worse, because it's probably something you've done
TTerrificTable551/3/2023
like i said in the post: i tabbed out of rider to watch a 10min youtube video, tabbed back in and found.... that
AAngius1/3/2023
File
-> Invalidate Caches
Ppatrickk1/3/2023
except for all the other steps, of changing MSBuild version, creating a new project and moving your code
TTerrificTable551/3/2023
i did that after i tabbed back in
Ppatrickk1/3/2023
sure..... and I'm saying you're making it worse
TTerrificTable551/3/2023
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
TTerrificTable551/3/2023
doesnt change anything
PPlayboi171/3/2023
Uninstall reinstall at this point
TTerrificTable551/3/2023
i just restared my pc and its still not working
TTerrificTable551/3/2023
i reinstalled rider, and i still have the same problem
CChucklesTheBeard1/3/2023
Help -> Diagnostic Tools -> Show Log in Explorer
see if there's anything useful in there
see if there's anything useful in there
CChucklesTheBeard1/3/2023
(note that it's super verbose so it's gonna be full of stuff, including unhandled exceptions, even when everything is running fine)
TTerrificTable551/3/2023
im just searching for error in that file right?
CChucklesTheBeard1/3/2023
more like skimming it to find anything relevant
TTerrificTable551/3/2023
there doesnt seem to be anything too interesting
TTerrificTable551/3/2023
there are a few exceptions and errors, but none of them seem to relate to the problem i have
CChucklesTheBeard1/3/2023
what happens when you try to build the project?
TTerrificTable551/3/2023
i normaly use
dotnet run
or dotnet build
from my terminal, which workTTerrificTable551/3/2023

TTerrificTable551/3/2023
and if i run dotnet run it works perfectly fine:
❯ dotnet run
Something
❯
(i added a Console.WriteLine for "Something")TTerrificTable551/3/2023
but in rider i cant select the project, and there is no "run button" where the Main method is

CChucklesTheBeard1/3/2023
next easy thing to try: reinstall .net sdk(s)
TTerrificTable551/3/2023
ok
TTerrificTable551/3/2023
i just opened another project by accident, and it works fine, no problems, nothing

CChucklesTheBeard1/3/2023
Interesting, you mentioned that didn't work before.
TTerrificTable551/3/2023
ye, before it didnt
TTerrificTable551/3/2023
now it does
CChucklesTheBeard1/3/2023
new project -> just copy over the .cs files
CChucklesTheBeard1/3/2023
¯\_(ツ)_/¯
TTerrificTable551/3/2023
ok, so for some reason, after creating another 2 projects and copy pasting the files, then opening the original one back up, it.... works...
AAccord1/4/2023
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.