Cant get my C# files to open in visual Studio!!!

Associate
Joined
6 Mar 2009
Posts
495
I have been working on some C# game development in uni which we use Visual Studio 2010 Professional. So i installed to same copy onto my PC but when i go to open the files it says that "This project type is not supported by this installation".

Its the same program so why wont they open??

Any ideas??
 
There are various add-ons that can be installed with VS and I assume your uni system has something installed that you don't. Unfortunately I can't be any more definitive as I haven't seem the system or the code. Try updating everything you can with VS.
 
I assume you have the DirectX/OGL/Whichever libraries that the University is using for the games development installed and included in VS.NET 2010 Pro?

Windows Update will not have these add-ons your uni is using, you will have to go looking for them and install them then set the libraries in VS.NET so it knows they are there to be used for projects.
 
Do you have multiple versions of Visual Studio installed?

I've seen this error before where you have C# stuff installed for one version of Visual Studio and SQL Server stuff installed for another one.
If it tries to open the solution in the wrong one you'll get this error
 
Stupid question but you did actually install the C# bits during installation, you can choose to omit C++, J#, C# etc from the IDE if you wish.

Go, File --> New Project and check the C# options are available for selection.

Also check you dont need any of the XNA stuff from http://create.msdn.com/en-US/ as it sounds like you may be missing a project template type.
 
Last edited:
Stupid thing to suggest, but make sure you're opening this in the right version of VS. I have 2005, 2008 and 2010 on my machine and no matter what I do the .sln filetype always gets associated with 2008, and I always get this error when opening a 2010 solution.

Other than that Grey M@a and Pho suggestions are the way forward.
 
Back
Top Bottom