简体   繁体   中英

Not able to open vs2008 project in vs2010

I am trying to open a project developed in vs2008 but i am getting the following error.

"cannot be opened because its project type .csproj is not supported by this version of the application".

And I tried by selecting open with-> visual studio version selector but it opens as a vs2010 project and gives the same error.

When I got this msg, it was because I was opening a "non native" project format. Like eg MVC. You would have to install that project-type-extension (if that is the correct name? the one that gives you the project template) for VS2010 as well. I think it even needs to be same version.. like MVC2 again instead of MVC3.

Similar with XNA.

Thanks to all of you for your kind help.

I was working on a project and it was in vs 2010, same time i tried to open another project for reference which was in vs 2008, even i opened in new instance it was unable to open that.

At end I closed all the VS instances and opened vs 2008 project first, then it asked for version specification.

Did'nt able to rectify the error but got the solution.

"First close all the opened instances and then open the older one".

Just try to open the solution file in an text editor and change the

# Visual Studio 2008

to

# Visual Studio 2010

Does it help?

PS: Here are the differences between VS 2008 and VS 2010 sln and csproj files listed:

http://blogs.msdn.com/b/rextang/archive/2009/07/06/9819189.aspx

You can try to port manually. Just make a backup before you do.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM