Visual Studio 2013 Community Errors

I recently installed Visual Studio Community 2013 with Update 4, and when I try to create my project, I get these errors (see below):

C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(362,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.  TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
1>  main.cpp
1>c:\program files (x86)\microsoft sdks\windows\v7.1a\include\sal_supp.h(57): warning C4005: '__useHeader' : macro redefinition
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sal.h(2886) : see previous definition of '__useHeader'
1>c:\program files (x86)\microsoft sdks\windows\v7.1a\include\specstrings_supp.h(77): warning C4005: '__on_failure' : macro redefinition
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sal.h(2896) : see previous definition of '__on_failure'

How to solve them? I tried many ways, but no luck.

+1
source share
1 answer

Go to the control panel and go to the uninstall program.

uninstall

Select an update to the Visual Studio 4 community version. Select a change or repair, if any. If it opens in the Visual Studio window, select repair there.

controlPanelChoice

Choose a repair.

VSRepair

Maintain an Internet connection while you do this, so your sdk tools and platforms can be updated.

, :

fooobar.com/questions/262993/...

https://social.msdn.microsoft.com/Forums/vstudio/en-US/48a4500c-2c48-43dd-822b-10e83258d18b/warning-msb8003-could-not-find-windowssdkdir-variable-from-the-registry-targetframeworkversion-or?forum=visualstudiogeneral

SGEN Msbuild 3.5

https://code.google.com/p/gyp/issues/detail?id=457

0

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


All Articles