when i use tools>command line>Developer command prompt
i get this error in the cmd:
Common7\Tools\VsDevCmd.bat not found
and when i use developer powershell i get this error inside powershell:
Write-Error 'Common7\Tools\Microsoft.VisualStudio.DevShell.dll not found' : Common7\Tools\Microsoft.VisualStudio.DevShell.dll not found At line:1 char:1 + & { Write-Error 'Common7\Tools\Microsoft.VisualStudio.DevShell.dll no ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
also when i use View>Terminal i get this error inside the terminal:
Enter-VsDevShell : C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\....\ At line:1 char:82 + ... Shell.dll}; Enter-VsDevShell -SkipAutomaticLocation -SetDefaultWindow ... ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Enter-VsDevShell], ItemNotFoundException + FullyQualifiedErrorId : VsInstallationNotFound,Microsoft.VisualStudio.DevShell.Commands.EnterVsDevShellCommand
maybe useful to know i also have visual studio code
So what is the problem?

