'Auto Completion not Working Visual studio unity

I've been working on a unity project recently and I opened my script editor (visual studio) and started coding, only to find that my auto completion was not working. so i tried to find out what was wrong and realized the thing on the top right said "Miscellaneous files" instead of "Assembly C-sharp", I had ran into this problem before and it was relatively easy to fix with a bit of googling, although this time it also said "file failed to load" I tried literally EVERYTHING google said to do. and nothing was working.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source