If you install the GAX ( Guidance Automated Extensions ) package on a machine running Visual Studio 2008, you can see the Projet Creation Failed message on the Visual Studio status bar every time you try to create a new project, or to add a new object on a existing solution.
Apparently this is a problem with a dll redirection that GAX adds to the devenv.exe.config file on the installation. To solve this, we only have to remove this redirection. To do this:
- Open the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.config file on the notepad.( don't forget to open the notepad as administrator, otherwise you'll not be able to save the file on this directory )
- Press Control+F and search for "Microsoft.VisualStudio.TemplateWizardInterface"
- Comment this item or delete it from the file. The piece where this line is found, should look like this:
<!-- assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" / -->
<bindingRedirect oldVersion="0.0.0.0-18.104.22.168" newVersion="22.214.171.124" />
- Save the file, and open Visual Studio 2008 again. And no more excuses not to be working! =)
UPDATE: if you don't have the above line in your file or if this does not work for you, please read the comments below to see other ways to fix this error. And thanks for all the visitors that shared their finds here :)