.sln not generated. External Tools and Assets method not working.

I have this, aparently common problem, where the .sln is not created.

I open the C# .cs via Unity in VisualStudio2017 by default. A message pops and it says that C:\Users\username\Unity\Proyect\Proyect.sln was not found and will not load. Also the solution explorer is empty. No assets folder or anything. (I know it should be there because of the YouTube tutorials from Brackeys)

At first it didn’t boter me because I wasn’t doing a lot of scripting and scine I was just making common non unity library variables. It was working.

But know I need to use GameObjects and when scripting this, Unity will tell me that I have compilation issues or just tell that I have errors and use a valid .cs Script. (Even tho I didn’t have any).

I have donde the " Edit > Preferences > External Tools and navigate to the VS exe, then Assets > Open C# Project " method (wich, I need to clarify, my settings were already like that) and it’s not solving the issue.

Also I re-instaled Unity, but no luck.

By the way, my projects are made in 2019.4.3f1

(Ps: Sorry if my garamar is bad, English is not my first language)

I know I just posted this a moment ago, but I need to tell. Out of nowhere I now can use GameObjects variables. But the orange color of the letters is missing and my Solution Explorer is still empty. No refrences or Assets folder. I honestly don’t know if it would be able to fullty work like my other proyects or if a new problem will occurr.

Well, I can’t use TextMeshPro in Text variables. Is it for a different isue or TextMeshPro is just, not compatible?

Ok… so I don’t know why. But if I change yo Visual 2019 it works.

Aparently it is because of some thing you need to download for visual to work properly and I used to have then in 2019 but not 2017. If enyones sees this. It think this is how you fix the issue.