views:

643

answers:

6

I have copied a whole project onto my PC, both into My Documents/Visual Studio and into inetpub/wwwroot, but when I try to open the project in Visual Studio, it tries to open just 1 file .vssproj and gives me error messages, like : "The project file cannot be loaded. The application for project ... is not installed.". What am I doing wrong?

A: 

whats that error about ? could you put that here ?

Adinochestva
This probably should be a comment...
lc
"The project file cannot be loaded.The application for project...is not installed."
Greg
A: 

Without telling the specific error you're getting it's hard to help, but I'm guessing the file paths in the project file are incorrect. Try creating a new project and manually adding the files and see if you get the same errors.

lc
Thank you very much
Greg
"The project file cannot be loaded.The application for project...is not installed."
Greg
A: 

Without the specific error messages, it's tough to be sure, but if you have an entire solution from your source machine rather than just a single project, you may want to try copying that over instead.

sam
Thank you very much
Greg
"The project file cannot be loaded.The application for project...is not installed."
Greg
+1  A: 

As others have said, without knowing a specific error it's hard to help. However, the sln and csproj files are just text files, you can always just open them up in notepad and do a search and replace on any obvious path problems. It's often quicker than creating a new project and adding all the files / references.

Robin Day
Thank you very much
Greg
"The project file cannot be loaded.The application for project...is not installed."
Greg
+2  A: 

If VS 2005 has not been upgraded to Service Pack 1 then a web application project (rather than a website) will give this error.

Greg
+1  A: 

I had this same exact error when double-clicking on the file as opposed to going to VS and using its menu to open it. It seems a problem with file associations.

zvolkov
thank you zvolkov
Greg