Proje...">

Update ToolsVersion = "12.0" in Visual Studio 2012

I am trying to compile a project written in C ++. The compiler gave me this error.

1>Project file contains ToolsVersion="12.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".

Can someone tell me how to solve this error. I tried to update it, but could not do it?

+4
source share
2 answers

It seems that you are trying to compile a Visual Studio 2013 project (since it uses ToolsVersion = 12.0) in Visual Studio 2012 (uses ToolsVersion = 11.0).

So here is the solution to your problem. #TestedSuccessfully

  • In the project folder, open the .Vcxproj file and change ToolsVersion = 12.0 from 11.0

  • You should change 12.0 from 11.0 to 3 places, I hope. You can check all entries and you are done.

. , :)

+3

ToolsVersion "12.0" , Visual Studio 2013. .

0

Source: https://habr.com/ru/post/1545578/


All Articles