No, the above is not part of the plot of a movie scene, it's life, real life and it's just happened to me. Fortunately, I found this thread on MS forums which presented a quick and easy fix, which -at least in my case- worked.
The fix:
- Open a VS 2005 Command Prompt,
- Enter the following command: regsvr32.exe "%vs80comntools%\..\IDE\projectaggregator.dll", and finally
- Execute %vs80comntools%\..\IDE\VCSExpress /setup (if you are using c# Express), or instead, execute %vs80comntools%\..\IDE\devenv /setup (if you are using VS 2005).
Take due note that "%vs80comntools% ..." is an environment variable, so the above-mentioned command lines should work "as is". However, if it doesn't because the path is not found -maybe some or all of the environmental variables set by the IDE are currently messed up in your system- just replace the "%vs80comntools%" term with your real path to the files' folder and the command should now execute.
Now, try to re-create the project again and it should all now go ok, as if nothing wrong had happened in the first place.
Cheers!
The paths are the wrong way round. VCSExpress for Express and devenv for VS 2002 Standard/Pro/Enterprise
ReplyDeleteOoops! You're right ... typo ... it's fixed now ... thanks for letting me know!
ReplyDeleteYou wrote, "Of course, you should substitute "%vs80comntools% ..." with your real path to the files' folder."
ReplyDeletevs80comntools is an environment variable. It is already set to the right path. All you need to do is type the command exactly as shown, including the quotes and percent signs. The command-line interpreter will expand it to the right thing.
At the time I experienced the problem, using it "as is" didn't work for me -the path wasn't found, so I guess the IDE's environment variables were kind of messed up for me.
ReplyDeleteAnyway, I'll change the psot to a "more proper" way (if ... doesnt' work, try changing ...).
Thanks again!
Thanks, useful article
ReplyDeleteHow do you open a VS 2005 command prompt??
ReplyDeleteLet's say you have Visual Studio 2005.
ReplyDeleteGo To:
Start -> All Programs -> Microsoft Visual Studio 2005 -> Tools -> Visual Studio 2005 Command Prompt
Of course, that if you have a directory on the start folder named "Microsoft Visual Studio 2005", but that can vary. For instance, if instead you have "Microsoft XNA Game Studio 2.0" then in the "Tools" folder you will find "XNA Game Studio Command Promopt".