Wednesday, June 6, 2012

Visual Studio Project – unavailable

one broken pencil tip in a setI hadn’t opened a particular Visual Studio solution since getting a replacement workstation and rebuilding my developer environment. Upon opening, one of the projects in the solution would not open and showed up as “(unavailable)” as shown below.

vs 2010 project (unavailable)

The Output window displayed the not very useful message, “The project type is not supported by this installation.”

project type not supported

In order to find out why, I opened the LPM.csproj file using Wordpad, not in Visual Studio, and scanned through the properties looking for insight as to why the project was unsupported. It didn’t take long to find the issue.

This project was using MVC 3 and the Entity Framework 4.1 which were not installed on my new workstation. I installed EF 4.1 on my old workstation specifically so I could use the MvcScaffolding NUGET package with an existing database design for a product technology upgrade. See my previous posts detailing some of my experiences with MvcScaffolding and the ASP.NET MVC framework.


After installing both ASP.NET MVC 3 and EF 4.1, all the projects in the solution opened as expected. Another small victory!


photo credit: ruurmo / CC BY-SA 2.0

No comments: