Migrating a solution from visual studio 2008 to visual studio 2015 - c++

I had a problem while migrating a solution from visual studio 2008 to visual studio 2015, in my solution using DirectX June 2010, but as far as I know DirectX is integrated into the Windows SDK, which should lead to a definition again. Does anyone have an idea to solve this problem of mine. Thanks.

Related

how to make the same project solution work on both visual studio 2015 and 2017?

I am using Microsoft visual studio 2015 and my friend using visual studio 2017, we both are working on single c++ project, if i take his code into my studio it shows errors,
I want the same solution and same project file into my MSVS 2015 but he has version 141 and I have v140,
Is there any way to make the same project solution work on both visual studio 2015 and 2017.
I heard it's possible with externalizing targeting parameters. But i don't know much about it.
Please give me any information about that.

I upgraded C++ projects from Visual Studio 2010 to 2015 still its showing Visual Studio (2010)

The configuration window image. Just click on it.
I upgraded C++ projects from Visual Studio 2010 to Visual Studio 2015, but it's still showing (Visual Studio 2010) in the Solution Explorer.
Please inform me if there is any change I need to do to solve this error.
This is displayed in the Solution Explorer:
This is not an error, it simply means that the project is using the toolkit that came with Visual Studio 2010. This doesn't prevent your projects from being compiled however.
To upgrade the project to the Visual Studio 2015 toolkit right click on the projects showing (Visual Studio 2010) and select the desired toolkit under General->Platform Toolset.

Is it possible to apply fixes on Visual C++ Build Tools 2015 Update 3

Visual Studio 2015u3 is serviced by cumulative updates with KB3165756, which contains, among other things, fixes to the C++ compiler and libraries.
However KB3165756 refuses to do anything on a computer where Visual C++ Build Tools 2015 Update 3 is installed. It really wants one of VS Pro, Enterprise, Community or Express.
Are there special patches for Visual C++ Build Tools, or is it not updated at all and so it is actually a better idea to switch to Visual Studio Express 2015 for Desktop, in order to be able to receive patches?
Here is the answer I got on MSDN Visual Studio Development > Visual Studio Setup and Installation forum:
However KB3165756 refuses to do anything on a computer where Visual C++ Build Tools 2015 Update 3 is installed. It really wants one of VS Pro, Enterprise, Community or Express.
It is reasonable, check this: https://msdn.microsoft.com/en-us/library/mt752379.aspx and it describes this update is applies to
Visual Studio Professional 2015
Visual Studio Enterprise 2015
Visual Studio Community 2015
Visual Studio Express 2015 for Web
Visual Studio Express 2015 for Desktop
Visual Studio Express 2015 for Windows 10
I have researched around and it looks like there is no special update for the Visual C++ Build Tools 2015, and refer to this blog: https://blogs.msdn.microsoft.com/vcblog/2015/11/02/announcing-visual-c-build-tools-2015-standalone-c-tools-for-build-environments/
The latest release of the Visual C++ Build Tools 2015 is here: Download Visual C++ Build Tools 2015
If you still want to install, it looks like you need a VS 2015 RTM update version on your computer. Since the VS community 2015 with update 2 and Visual Studio Express version are free and you can think about it.
Best regards,
Sara

Share project between Visual Studio 2013 and Visual Studio 2012

I am using Visual Studio 2013 community and created C++ project.
I want to share the project with a colleague working with Visual Studio 2012 professional.
Once he took the project he had to change the toolset to v110 and it worked just fine for him.
When he shared it back with me I got the message:
error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset = 'v110') cannot be found.
To build using the v110 build tools, please install Visual Studio 2012 build tools.
Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...".
I do not want to upgrade the solution, as that will cause us each time to change the project, but I couldn't find anywhere to download the VS2012 build tools.
Where can I find Visual Studio 2012 build tools?
You can have both Visual Studio 2012 and Visual Studio 2013 installed on the same machine. Once you have both installed you can use the Visual Studio 2012 compiler in Visual Studio 2013.
So I suggest you install Visual Studio 2012. I think Express edition should be enough.
Alternatively, your colleague can install Visual Studio 2013 Community Edition alongside his existing Visual Studio 2012 Professional Edition. I think the features are roughly equivalent the only question is if they are breaking the license terms.

WinUSB template is missing

I want to experiment with usb drivers on c++. I'm using visual studio express 2013 and I could not find WinUSB template. I have seen this guide. However it is for visual studio ultimate/pro 2012. Can anyone help me?
Thanks in advance!
According to this page
For building Windows 10 driver samples, Visual Studio Community 2015 works with WDK 10 to build samples from the samples gallery. Visual Studio Community 2015 is available free.
This contradicts some other pages (e.g. this one) which say you need Visual Studio Professional or Ultimate. But it is wrong - I just downloaded VS 2015 Community, and the Windows Driver Kit, and it installed fine and has a WinUSB sample.