Visual studio 2015 c++ project creation failed - visual-c++

I have installed visual studio 2015 and when I try to create a visual c++ project it shows "Project creation failed error" at the lower end of the panel, though it works fine with visual c# or other projects.
I have been googling for two days now and have tried tampering with the registry as administrator but it didn't work.
My control panel shows installation of the following:
microsoft visual c++ 2015 Redistributable(x86)-14.0,microsoft visual
c++ 2015 Redistributable(x64)-14.0,microsoft visual c++ 2013
Redistributable(x86)-12.0, microsoft visual c++ 2013
Redistributable(x64)-12.0,microsoft visual c++ 2012
Redistributable(x86)-11.0,microsoft visual c++ 2012
Redistributable(x64)-11.0, microsoft visual c++ 2010 x64
Redistributable-10.0,microsoft visual c++ 2010 x86
Redistributable-10.0,microsoft visual c++ 2008 Redistributable-x64
9.0.30721.6161,microsoft visual c++ 2008 Redistributable-x86 9.0.30721.6161, microsoft visual c++ Compilers 2010 standard-enu x64,microsoft visual c++ Compilers 2010 standard-enu x86

I got this problem after installing the English translations (I am forced by Microsoft site to download the French version).
Switching back the language to French solved the problem. I spent a good 8 hours on this, reinstalling, deleting files manually, etc...
Hope it helps you

Related

Cannot find Common Tools for Visual C++ 2017

I have Visual Studio Professional 2017, and the project I'm using requires Common Tools for Visual C++, which I don't have installed.
However, I can't find it on the Visual Studio 2017 installer nor the Microsoft official website. Any suggestions?
Get the VS 2017 installer here. You can get the "Trial" versions of Professional or Enterprise and then upgrade them to full versions with your license key.
And get other VS installers here.
As Chuck Walbourn said, Common Tools for Visual C++ does not exist for Visual Studio 2017. The component that I was missing was Common Tools for Visual C++ 2015.

Is it possible to add the Visual C++ v120 Compiler Tool Set to Visual Studio 2015?

I have a programm using an GSL library which worked quite well with Visual Studio 2013. Now I set up a new Windows version and installed Visual Studio 2015 RC Community.
After that I can not compile the code anymore. After converting the code to the new tool set I got the error that some external symbols of the libraries could not be found. I think this has something to do with the fact, that the library was build with Visual C++ v120.
So is there a possiblilty to add this Compiler Version to the Studio? And does it work without trouble next to a new version installed. I do not want to install the older version of VS, because of the possibility of some troubles haveing to version parallel installed.
You can install VS2013 toolset version from your VS2015 installer without installing visual studio 2013. From the 2015 installer, select Windows 8.1 and Windows Phone 8.0/8.1 Tools. Thats it.
Found it in a msdn forum (have to be the first time something is actually solved in a microsoft forum)
Install Visual Studio 2013
Open your Project in Visual Studio 2015
In the General page of the Project Properties, change the Platform Toolset to "Visual Studio 2013 (v120)"
You never have to open Visual Studio 2013; you just have to install it so that Visual Studio 2015 can find the toolset. (Unfortunately there is no way to install just the toolset.)

Visual Studio 2012 can't see path to the libs etc after updating

I have installed VS 2012 which worked perfectly until last updating. Now it can't see common paths. I tryed to customize them but failed. For example I have some project being ok before but now there are glitches all around it:
here are current settings I done:
This is like those folders look:
While a new project is creating I get such messges:
Besides I have not found how to make settings global (not for only the single project). For sure all that is not very sophisticated but I have too little experience with VS. So I will very appreciate for real help!
And the current version is:
Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50709
Installed Version: Professional
Team Explorer for Visual Studio 2012 04938-004-0033001-02302
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04938-004-0033001-02302
Microsoft Visual Basic 2012
Visual C# 2012 04938-004-0033001-02302
Microsoft Visual C# 2012
Visual C++ 2012 04938-004-0033001-02302
Microsoft Visual C++ 2012
Visual F# 2012 04938-004-0033001-02302
Microsoft Visual F# 2012
The problem is resolved.
The cause was that before updating VS placed here:
C:\Program Files (x86)\Microsoft Visual Studio 11.0
but after updating here:
B:\Program Files\Microsoft Visual Studio 11.0
files which paths became broken left at the old location, i.e. here:
c:\Program Files (x86)\VC\
I really don't know why it is possible but reality is such just this.
So the solution was purely empirical:
1. Try to find lost files on the disk where VS was installed before:
Copy them into the directory where it is installed now:
Open any of projects to check if all is correct now:
Checked!

Is it possible to develop extensions for visual studio 2012 using free tools?

I would like to make a template for F# lib + XNA 4.0 + Xbox360 for visual studio 2012.
All I have is Visual Studio 2012 Express Edition for Web.
When I try to install the Visual Studio 2012 SDK, it stops after reporting that it requires Visual Studio 2012. The log seems to indicate it's looking for the Professional edition.
I'm not interested in buying a professional license for hobby work, and I am a bit surprised Microsoft would want to prevent hobbyists from extending their product.
I do have a professional license for Visual Studio 2010, though. If there's a way to make extensions for 2012 using 2010, that would work for me.
You can use VS2010 to develop extension compatible with VS2012.
All you have to do is to manually change vsixmanifest to make it work with newer version:
<SupportedProducts>
<VisualStudio Version="11.0">
Note however that Visual Studio Express does not support extensions, so you won't be able to install it in VS2012 Express anyway.

CString.getbuffer() giving compiling error in VC++6.0 but successfully compiling in Visual Studio 2005

I am new at VC++. I have the code developed in VC++ 6.0
Now i have opened it in Visual Studio 2005 and it is compiling successfully. But on compiling it in Visual Studio 6.0 envnt it is throwing error saying "getBuffer() can not call with 0 parameters"
Why is it compiling in visual studio 2005 not in visual studio 6.0?
Without seeing the failing/working code it's impossible to be definitive, but I would trust Visual Studio 2005 over Visual C++ 6.0 any day of the week.
Visual C++ 6.0 is really showing its age (it's no longer supported by Microsoft, for one thing) - VC++ v8.0 (in VS2005) is a much better compiler.

Resources