As I have sometimes problems with intellisense in visual studio using unity, I searched for some answers. It was almost every time pretty much the same: Reloading the project. But in my solution explorer, there is not even a project showing that I could reload. Are you able to manually create the project or are there some reasons for that behavior?
ps: I just updated unity from version 2017.3.0f3 to 2018.1.0f2, may that be the problem? (I'm using visual studio 2017 (I'm updating at the moment on version 15.7.1) community)
edit: What I've tried so far:
- Simply re-launching Visual Studio by double-clicking on the script file inside unity (-> DMGregory)
- reloading the project
- reimport all in the asset-explorer inside unity (S. Tarik Cetin)
- deleting the .sln file to force Unity to regenerate them from scratch (-> Ed Marty) + opening the solution from inside Visual Studio
Doing the last point created - as intended - a new solution, but there is still no project created, as you can see in the following picture (Projektmappe = solution). That's how the solution looks like.
While opening the script from Unity, it shows the message in the following picture. Translation:
"The following files were stated in the command line: [source path (name censored)] These files were not found and are not loaded."
When trying to open a script from a different (new) Project, it showed the same message, which leads to a new problem: Even in new unity projects, the solution cannot be opened, and the scripts are all assigned to a certain solution ("solution1"), which is the one that was generated. (Even scripts from different projects end up in the same solution!)
So at the moment, I have no idea what else to do. Is there something simple I'm just missing? Or should I reinstall one of the 2 programs? Or might the update of unity be the problem? (exact versions mentioned above)
If there's any extra information needed, please just mention it in the comments. (I'm not so sure what might be helpful and what isn't)