Description of the problem: My vs2019 is downloaded with the download of unity, and it cannot automatically associate the unity method class during use
1. Check the Visual Studio Tools for Unity plugin
vs2019:tools - get tools and features
2. Check the automatic association settings
Vs2019: Tools - Options - Search for "All Languages"
3. Associate the compiler in Unity
Unity:Edit - Preferences - External Tools