Visual Studio 2019 – error MSB8020: The build tools for Visual Studio 2013 cannot be found

Open the keycastow.vcxproj with notepad, change here the <PlatformToolset>v120</PlatformToolset> to <PlatformToolset>v142</PlatformToolset> to use the VC++ 2019 platform or change the version via UI

In Visual Studio, in Solution Explorer, open the shortcut menu for your project (not for your solution) and then choose Properties to open your project Property Pages dialog box.

  1. In the Property Pages dialog box, open the Configuration drop-down list and then select All Configurations.
  2. In the left pane of the dialog box, expand Configuration Properties and then select General.
  3. In the right pane, select Platform Toolset and then select the toolset you want from the drop-down list (2019 – v142 in your case)
  4. Choose the OK button.

Now you compile the project without installing anything.

Leave a Comment