Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, July 17, 2016 3:13 PM
Choosing the Platform Toolset for a project in VC++ evidently determines which Windows SDK is being used. How does one add a Platform Toolset choice for a particular version of VC++, or does this vary depending on the version of VC++/Visual Studio ?
As an example I am constrained to work with an older version of VC++ due to a project with which I am working. The platform toolsets for this version ( VS2010 ) list "v100' and "v90" corresponding to the SDK v7.0A and SDK V6.0A. Yet I am told that the project on which I am working works correctly using the SDK v7.1A, which I also have ( I also have later Windows SDKs ). So the question is how I can get VS2010 VC++ to show the SDK v7.1A as a Platform Toolset choice ? But my question is also a more general one: what is the mechanism for any version of VC++ for adding Platform Toolset choices ?
All replies (17)
Tuesday, July 19, 2016 9:41 AM âś…Answered
'Installation Failed that told me to look at "Samples/Setup/HTML/ConfigDetails.htm document for further information'
For the solution to this problem, see Windows SDK Fails to Install with Return Code 5100
Sunday, July 17, 2016 3:56 PM
If the 7.1A SDK is properly installed you should be able to select it from a project's toolset property dropdown. Also see https://blogs.msdn.microsoft.com/heaths/2011/04/01/visual-c-2010-sp1-compiler-update-for-the-windows-sdk-7-1/ for the proper order for installation of VS2010, SDK 7.1, and VS2010 SP1.
See below --
Sunday, July 17, 2016 3:59 PM
Properly installed ? I don't know what that means ? I see it on my computer but I doubt that I installed it myself ? And if I actually did I installed it using the usual installation methods.
Sunday, July 17, 2016 4:05 PM
Do you see it as an available toolset as in the screenshot above?
Did you read the blog posting about installation order?
Sunday, July 17, 2016 4:07 PM
No. Only 'v100' or 'v90' shows as available toolsets.
Sunday, July 17, 2016 4:09 PM
Maybe you should reinstall the software in accordance with the blog guidance.
Sunday, July 17, 2016 11:54 PM
I tried installing "Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1" only to be told "Windows 7.1 SDK not found". I then tried installing the Windows 7.1 SDK only to be told that a pre-release version of Net Framework 4 was detected. I then tried installing Net Framework 4 only to be told it was already installed. I then went back to installing the Windows 7.1 SDK, ignoring that it thought a pre-release version of Net Framework 4 was installed, and attempted to install only the "Windows Headers and Libraries" ignoring everything else as irrelevant for VS2010. Now I ran into an Installation Failed that told me to look at "Samples/Setup/HTML/ConfigDetails.htm document for further information." But where this mythical file is supposed to be I have no idea.
I am about to just chalk this up to some broken Microsoft software and assume that I cannot install the Windows 7.1 SDK on my Windows 8.1 system no matter what I do. I do know that I can run VS2010 under Windows 8.1. I would of course prefer to run VS2015 on my Windows 8.1 system but unfortunately the project on which I am working still uses components which are only supported by VS2010 so I am stuck with that. I also have VS2012 and VS2013 so having to use VS2010 is a real PITA. Hopefully using VS2010 with Windows SDK 7.0A will be good enough.
Monday, July 18, 2016 12:14 AM
I tried installing "Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1" only to be told "Windows 7.1 SDK not found". I then tried installing the Windows 7.1 SDK only to be told that a pre-release version of Net Framework 4 was detected. I then tried installing Net Framework 4 only to be told it was already installed. I then went back to installing the Windows 7.1 SDK, ignoring that it thought a pre-release version of Net Framework 4 was installed, and attempted to install only the "Windows Headers and Libraries" ignoring everything else as irrelevant for VS2010. Now I ran into an Installation Failed that told me to look at "Samples/Setup/HTML/ConfigDetails.htm document for further information." But where this mythical file is supposed to be I have no idea.
I am about to just chalk this up to some broken Microsoft software and assume that I cannot install the Windows 7.1 SDK on my Windows 8.1 system no matter what I do. I do know that I can run VS2010 under Windows 8.1. I would of course prefer to run VS2015 on my Windows 8.1 system but unfortunately the project on which I am working still uses components which are only supported by VS2010 so I am stuck with that. I also have VS2012 and VS2013 so having to use VS2010 is a real PITA. Hopefully using VS2010 with Windows SDK 7.0A will be good enough.
You could try uninstalling everything (Pre-Release .Net Framework 4, VS2010) and start from scratch following the recommended order:
- Visual Studio 2010 RTM
- Windows SDK 7.1
- Visual Studio 2010 SP1
- Visual C++ 2010 SP1 Compiler Update for the Windows SDK 7.1
Monday, July 18, 2016 12:54 AM
No way. Don't have time for this nonsense. Thanks for your help !
Monday, July 18, 2016 1:44 AM
Actually you shouldn't have to worry about any of this. Even if you installed the Windows SDK 7.1, this doesn't really add new tools unless you are using an Express version of Visual C++ 2010. The compilers that came with the Windows SDK 7.1 were the Visual C++ 2010 compilers, so all the platform toolset did here was to redirect the Windows headers and libraries to the Windows SDK directory.
Another thing to note is that any SDK ending with an A isn't a Windows SDK, it is a .NET framework SDK. If you had the separate Windows 7 SDK, which you can get here, or as an iso, then in the platform toolset you would have an option named "Windows7.1SDK".
This is a signature Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.
Monday, July 18, 2016 1:57 AM
The separate Windows 7 SDK to which you link says "Microsoft Windows SDK for Windows 7 and .NET Framework 4". It is precisely the SDK which gives me the:
'Installation Failed that told me to look at "Samples/Setup/HTML/ConfigDetails.htm document for further information'
I mentioned in a previous post. Why it is failing to install for me I have no idea. If there really is no difference between that 7.1 SDK and the version 7.0A SDK which VS2010 uses, then I should be fine.
Monday, July 18, 2016 6:51 AM
I feel your pain, I have had to throw away entire Windows installs to get Visual Studio working again after something went wrong.
Anyway, since it has been a few years, my memory is a little foggy on some parts. But from what I remember, the original Windows 7 SDK was released before Visual Studio 2010, this came with the Visual C++ 2008 compilers and tools. When Visual Studio 2010 was released, there was a change in the project system in VS since they decided to move to MSBuild, so they packaged a stripped down version of this SDK with VS2010, this is the v100 platform toolset.
A while after VS2010 was released, at the same time .NET 4 was released, they decided to refresh the Windows SDK and rerelease that. This time, they packaged the Visual C++ 2010 compilers along with the SDK. But since this installed them into the Visual Studio 2010 directory, you wouldn't see any change if you had a complete version of VS installed. This was actually the way that the people who had Visual C++ 2010 Express obtained the x64 compilers that weren't part of the product at that point. This was the final piece of the puzzle.
When Visual Studio 2010 SP1 was released, there was a well known problem with the Express edition, where the updater updated only the x86 compilers and libraries, but removed the remaining platforms. So the update for the compilers was released after this, so that it would install the SP1 compilers so that the Express editions could use them.
But anyway, the release of the Windows 7 and .NET Framework 4 SDK didn't coincide with any major updates to Windows 7. This SDK was released in June 2010, where Windows 7 Service Pack 1 was released in 2011 iirc. So while there are some differences between the SDKs, for just plain Windows programming, you wouldn't see any real differences that would make the change necessary.
This is a signature Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.
Monday, July 18, 2016 7:04 AM
Hi eldiener,
thanks for posting here.
This forum is about c++ language. For your case which is more related to vs setup, I will move your case to vs setup forum for better support.
Your understanding and cooperation will be grateful.
Best Regards,
Sera Yu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Tuesday, July 19, 2016 6:18 AM
Hi eldiener,
Is your OS win 7?
You may need to install Win 7 sp1 to narrow down some potential problems,
You could download it from the following link:
http://www.microsoft.com/en-sg/download/details.aspx?id=5842
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Tuesday, July 19, 2016 2:39 PM
I am running Windows 8.1.
Tuesday, July 19, 2016 3:10 PM
Thank you ! That solved my problem.
Wednesday, July 20, 2016 1:29 AM
Hi @eldiener,@RLWA32,
Thank you so much for sharing your solution and result here.
It will be benefit for other community members who encountered similar issue.
Have a good day:)
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.