The initial solution I found was to reinstall Visual Studio but felt that it might be unnecessary. The solution I found was to close down Visual Studio, go to
C:\Program Files (x86)\Microsoft Visual Studio\Installer
and rename the folder “Installer” to something else, then run vs_installer.exe
from the renamed folder.
Hope that helps someone.