Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Visual C++ 2010 Express project creation failed

Before I begin, I would like to note that I am running Windows XP SP3.

Recently, I noticed that my installation of MS Visual C++ 2008 Express would no longer create new projects, only open previously created ones. Please note that it has been able to create projects in weeks prior.

Rather than trying to find a solution for the 2008 version, I took the opportunity to upgrade to MS Visual C++ 2010 Express. After downloading and installing it, I encountered the same problem, only this time (will not create new projects), I noticed a message near the bottom of the window that read "Creating project '[project]'... project creation failed". I then uninstalled both versions (2010 and 2008), rebooted, reinstalled 2010, and... same problem.

I then followed this tutorial, where I (re)registered VsWizard.dll, then modified the owners of HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.VsWizardEngine.10.0 and HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VsWizard.WizCombo.9.0 to Administrators, and gave all users Full Control/Read permissions. This seems to be the solution that a number of other websites suggest, but it still did not help.

Thus, I am at a loss of where to go next. I, unfortunately, have no Restore Point to fall back on, so I need a different solution, if possible. Any help would be greatly appreciated.

like image 644
C. Short Avatar asked Jun 08 '11 05:06

C. Short


1 Answers

I had a lot of issues and frustration with solving this "issue", nothing worked. I changed my default ProgramFiles directory to my D drive as my C drive runs a SSD. By monitoring the visual studio process, I discovered that it was looking for MSBuild / Microsoft.Cpp on my D drive (not on my C drive, where my operating system is located). This was what caused the issue.

like image 94
Nathix Avatar answered Sep 20 '22 04:09

Nathix