Windows SDK registry variable not found

后端 未结 11 1030
闹比i
闹比i 2020-12-14 01:42

I cannot build my project in Visual Studio 2012. The error is:

1>C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V110\\Microsoft.CppBuild.targe

11条回答
  •  旧巷少年郎
    2020-12-14 02:17

    I was trying to get a script to compile for Script Hook V - GTA .NET Library.

    I spent about 2 hours trying to figure out why it wouldn't work. Here is how I got it to build:

    I right clicked on the project and selected properties:

    Step1

    Under Configuration Properties -> General -> Platform Toolset

    I selected the dropdown and selected the only other one available

    (For me it was Visual Studio 2013 - Windows XP (v120_xp))

    Platform Toolset

    After that I was able to fly my car normally:

    Weeee

    Hope this helps someone else trying to do the same thing.

提交回复
热议问题