Problems with meta files and Visual Studio...

I am pretty new to Unity and I have moved around the Visual Studio and Unity Program files. When I open up a new project, these warnings show up:

A meta data file (.meta) exists but its asset 'Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/COMIntegration.exe' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.

Couldn't delete Packages/com.unity.ide.visualstudio/Editor/COMIntegration/Release/COMIntegration.exe.meta because it's in an immutable folder.

A meta data file (.meta) exists but its asset 'Packages/com.unity.ide.visualstudio/Editor/VSWhere/vswhere.exe' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.

Couldn't delete Packages/com.unity.ide.visualstudio/Editor/VSWhere/vswhere.exe.meta because it's in an immutable folder.

Visual Studio’s intellisense/autocomplete for unity has also stopped working if that has anything to do with it.

I have tried:

  • Uninstalling and reinstalling Unity Hub
  • Uninstalling and reinstalling Unity
  • Uninstalling and reinstalling Visual Studio

All of the times i reinstalled, they have been in their default location.

Is there anything I can do to fix these warnings?
Thanks

okey i have a solution.
uninstall unity and visual studio. delet all files on appdate folder and program folder from installationsfolder and program data folder. Now you can reinstall unity and visual studio.