I\'ve been getting this error ever since I installed the .NET Framework SDK for 64-bit programming on my Visual C++ 2010 Express compiler. I can\'t compile even a simple pro
I just met and solved this problem by myself. My problem is a little different. I'm using visual studio on Windows 10. When I create the project, the Target Platform Version
was automatically set to 10.0.15063.0
. But there is no kernel32.lib
for this version of SDK, neither are other necessary header files and lib files. So I modified the Target Platform Version
to 8.1
. And it worked.
Environment:
Solution:
Property Page
;General
page;Target Platform Version
to the desired target platform (e.g. 8.1
).