title: Not able to open a solution file in Visual Studio 2010
body: <p><strong>Scenario:</strong> I started doing development on C# and MongoDB. I just got a good <a href="http://www.codeproject.com/Articles/273145/Using-MongoDB-with-the-Official-Csharp-Driver" rel="nofollow">demo project</a> which I have downloaded.</p>
  
  <p>The following is the content of the <code>.sln</code> file:</p>
  
  <pre><code>Microsoft Visual Studio Solution File, Format Version 11.00
  # Visual Studio 2010
  Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntroMongo", "IntroMongo\IntroMongo.csproj", "{9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}"
  EndProject
  Global
      GlobalSection(SolutionConfigurationPlatforms) = preSolution
          Debug|Any CPU = Debug|Any CPU
          Release|Any CPU = Release|Any CPU
      EndGlobalSection
      GlobalSection(ProjectConfigurationPlatforms) = postSolution
          {9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
          {9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
          {9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
          {9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}.Release|Any CPU.Build.0 = Release|Any CPU
      EndGlobalSection
      GlobalSection(SolutionProperties) = preSolution
          HideSolutionNode = FALSE
      EndGlobalSection
  EndGlobal
  </code></pre>
  
  <p><strong>Issue:</strong> Not able to open the solution in Visual Studio 2010</p>
  
  <p>It is throwing the following error message:</p>
  
  <pre><code>One or more projects in the solution were not loaded correctly.
  Please see the Output Window for details.
  </code></pre>
  
  <p><strong>Know Information:</strong><br>
  Some further research and I found following:<br>
  <a href="http://www.mztools.com/Articles/2008/MZ2008017.aspx" rel="nofollow">List of known project type Guids</a>.<br>
  My <code>.sln</code> file contains:<br></p>
  
  <pre><code>Visual Studio 2010
  Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AddNumbers", "AddNumbers.csproj", "{2C81C5BB-E3B0-457E-BC02-73C76634CCD6}"
  </code></pre>
  
  <p>The link shows:<br></p>
  
  <pre><code>Project Type     Description    Project Type Guid&lt;br&gt;
  Windows (C#)    {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
  </code></pre>
  
  <p>So it's Windows C#</p>
  
  <p>Output window shows the following:</p>
  
  <pre><code>D:\IntroMongo\IntroMongo\IntroMongo.csproj : error  : The project file 'D:\IntroMongo\IntroMongo\IntroMongo.csproj' cannot be opened.
  
  The project type is not supported by this installation.
  </code></pre>
  
  <p><strong>Question:</strong> How can I open and run the project on Windows 7 64-bit machine in Visual Studio 2010?</p>
  
  <p>Advance Thanks.
  <hr>
  <strong>Update based on the comments:</strong> <br>
  The *.csproj contains the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup&gt;
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
      &lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt;
      &lt;ProductVersion&gt;
      &lt;/ProductVersion&gt;
      &lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt;
      &lt;ProjectGuid&gt;{9D4B1119-A3EA-4B82-8979-4C1B6BDB56B0}&lt;/ProjectGuid&gt;
      &lt;ProjectTypeGuids&gt;{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;/ProjectTypeGuids&gt;
      &lt;OutputType&gt;Library&lt;/OutputType&gt;
      &lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt;
      &lt;RootNamespace&gt;IntroMongo&lt;/RootNamespace&gt;
      &lt;AssemblyName&gt;IntroMongo&lt;/AssemblyName&gt;
      &lt;TargetFrameworkVersion&gt;v4.0&lt;/TargetFrameworkVersion&gt;
      &lt;MvcBuildViews&gt;false&lt;/MvcBuildViews&gt;
      &lt;UseIISExpress&gt;false&lt;/UseIISExpress&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;Optimize&gt;false&lt;/Optimize&gt;
      &lt;OutputPath&gt;bin\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE&lt;/DefineConstants&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;WarningLevel&gt;4&lt;/WarningLevel&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "&gt;
      &lt;DebugType&gt;pdbonly&lt;/DebugType&gt;
      &lt;Optimize&gt;true&lt;/Optimize&gt;
      &lt;OutputPath&gt;bin\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE&lt;/DefineConstants&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;WarningLevel&gt;4&lt;/WarningLevel&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Reference Include="EntityFramework"&gt;
        &lt;HintPath&gt;..\packages\EntityFramework.4.1.10331.0\lib\EntityFramework.dll&lt;/HintPath&gt;
      &lt;/Reference&gt;
      &lt;Reference Include="MongoDB.Bson, Version=1.2.0.4274, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL"&gt;
        &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;
        &lt;HintPath&gt;bin\MongoDB.Bson.dll&lt;/HintPath&gt;
      &lt;/Reference&gt;
      &lt;Reference Include="MongoDB.Driver, Version=1.2.0.4274, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL"&gt;
        &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;
        &lt;HintPath&gt;bin\MongoDB.Driver.dll&lt;/HintPath&gt;
      &lt;/Reference&gt;
      &lt;Reference Include="System.Data.Entity" /&gt;
      &lt;Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /&gt;
      &lt;Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /&gt;
      &lt;Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /&gt;
      &lt;Reference Include="Microsoft.CSharp" /&gt;
      &lt;Reference Include="System" /&gt;
      &lt;Reference Include="System.Data" /&gt;
      &lt;Reference Include="System.Drawing" /&gt;
      &lt;Reference Include="System.Web.DynamicData" /&gt;
      &lt;Reference Include="System.Web.Entity" /&gt;
      &lt;Reference Include="System.Web.ApplicationServices" /&gt;
      &lt;Reference Include="System.ComponentModel.DataAnnotations" /&gt;
      &lt;Reference Include="System.Core" /&gt;
      &lt;Reference Include="System.Data.DataSetExtensions" /&gt;
      &lt;Reference Include="System.Xml.Linq" /&gt;
      &lt;Reference Include="System.Web" /&gt;
      &lt;Reference Include="System.Web.Extensions" /&gt;
      &lt;Reference Include="System.Web.Abstractions" /&gt;
      &lt;Reference Include="System.Web.Routing" /&gt;
      &lt;Reference Include="System.Xml" /&gt;
      &lt;Reference Include="System.Configuration" /&gt;
      &lt;Reference Include="System.Web.Services" /&gt;
      &lt;Reference Include="System.EnterpriseServices" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Compile Include="Controllers\RemarkController.cs" /&gt;
      &lt;Compile Include="Controllers\UserController.cs" /&gt;
      &lt;Compile Include="Global.asax.cs"&gt;
        &lt;DependentUpon&gt;Global.asax&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Models\MongoWrapper.cs" /&gt;
      &lt;Compile Include="Models\Remark.cs" /&gt;
      &lt;Compile Include="Models\User.cs" /&gt;
      &lt;Compile Include="Properties\AssemblyInfo.cs" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" /&gt;
      &lt;Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.accordion.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.all.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.autocomplete.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.base.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.button.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.core.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.datepicker.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.dialog.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.progressbar.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.resizable.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.selectable.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.slider.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.tabs.css" /&gt;
      &lt;Content Include="Content\themes\base\jquery.ui.theme.css" /&gt;
      &lt;Content Include="Global.asax" /&gt;
      &lt;Content Include="Content\Site.css" /&gt;
      &lt;Content Include="Scripts\jquery-1.5.1-vsdoc.js" /&gt;
      &lt;Content Include="Scripts\jquery-1.5.1.js" /&gt;
      &lt;Content Include="Scripts\jquery-1.5.1.min.js" /&gt;
      &lt;Content Include="Scripts\jquery-ui-1.8.11.js" /&gt;
      &lt;Content Include="Scripts\jquery-ui-1.8.11.min.js" /&gt;
      &lt;Content Include="Scripts\jquery.validate-vsdoc.js" /&gt;
      &lt;Content Include="Scripts\jquery.validate.js" /&gt;
      &lt;Content Include="Scripts\jquery.validate.min.js" /&gt;
      &lt;Content Include="Scripts\modernizr-1.7.js" /&gt;
      &lt;Content Include="Scripts\modernizr-1.7.min.js" /&gt;
      &lt;Content Include="Web.config" /&gt;
      &lt;Content Include="Web.Debug.config"&gt;
        &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
      &lt;/Content&gt;
      &lt;Content Include="Web.Release.config"&gt;
        &lt;DependentUpon&gt;Web.config&lt;/DependentUpon&gt;
      &lt;/Content&gt;
      &lt;Content Include="Scripts\jquery.unobtrusive-ajax.js" /&gt;
      &lt;Content Include="Scripts\jquery.unobtrusive-ajax.min.js" /&gt;
      &lt;Content Include="Scripts\jquery.validate.unobtrusive.js" /&gt;
      &lt;Content Include="Scripts\jquery.validate.unobtrusive.min.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftAjax.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftAjax.debug.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftMvcAjax.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftMvcAjax.debug.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftMvcValidation.js" /&gt;
      &lt;Content Include="Scripts\MicrosoftMvcValidation.debug.js" /&gt;
      &lt;Content Include="Views\Web.config" /&gt;
      &lt;Content Include="Views\_ViewStart.cshtml" /&gt;
      &lt;Content Include="Views\Shared\Error.cshtml" /&gt;
      &lt;Content Include="Views\Shared\_Layout.cshtml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Views\Remark\Index.cshtml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="packages.config" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Views\User\Index.cshtml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Views\User\New.cshtml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Views\User\Edit.cshtml" /&gt;
    &lt;/ItemGroup&gt;
    &lt;Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /&gt;
    &lt;Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /&gt;
    &lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
         Other similar extension points exist, see Microsoft.Common.targets.
    &lt;Target Name="BeforeBuild"&gt;
    &lt;/Target&gt;
    &lt;Target Name="AfterBuild"&gt;
    &lt;/Target&gt; --&gt;
    &lt;Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"&gt;
      &lt;AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" /&gt;
    &lt;/Target&gt;
    &lt;ProjectExtensions&gt;
      &lt;VisualStudio&gt;
        &lt;FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"&gt;
          &lt;WebProjectProperties&gt;
            &lt;UseIIS&gt;False&lt;/UseIIS&gt;
            &lt;AutoAssignPort&gt;True&lt;/AutoAssignPort&gt;
            &lt;DevelopmentServerPort&gt;3228&lt;/DevelopmentServerPort&gt;
            &lt;DevelopmentServerVPath&gt;/&lt;/DevelopmentServerVPath&gt;
            &lt;IISUrl&gt;
            &lt;/IISUrl&gt;
            &lt;NTLMAuthentication&gt;False&lt;/NTLMAuthentication&gt;
            &lt;UseCustomServer&gt;False&lt;/UseCustomServer&gt;
            &lt;CustomServerUrl&gt;
            &lt;/CustomServerUrl&gt;
            &lt;SaveServerSettingsInUserFile&gt;False&lt;/SaveServerSettingsInUserFile&gt;
          &lt;/WebProjectProperties&gt;
        &lt;/FlavorProperties&gt;
      &lt;/VisualStudio&gt;
    &lt;/ProjectExtensions&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p><hr>
  <strong>Visual Studio Version Details</strong>:</p>
  
  <pre><code>Microsoft Visual Studio 2010
  Version 10.0.40219.1 SP1Rel
  Microsoft .NET Framework
  Version 4.0.30319 SP1Rel
  
  Installed Version: Professional
  
  Microsoft Visual Basic 2010   01018-532-2002102-70881
  Microsoft Visual Basic 2010
  
  Microsoft Visual C# 2010   01018-532-2002102-70881
  Microsoft Visual C# 2010
  
  Microsoft Visual F# 2010   01018-532-2002102-70881
  Microsoft Visual F# 2010
  
  Microsoft Visual Studio 2010 Team Explorer   01018-532-2002102-70881
  Microsoft Visual Studio 2010 Team Explorer
  
  Microsoft Visual Web Developer 2010   01018-532-2002102-70881
  Microsoft Visual Web Developer 2010
  
  Crystal Reports Templates for Microsoft Visual Studio 2010   
  Crystal Reports Templates for Microsoft Visual Studio 2010
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2529927)   KB2529927
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2529927.
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2548139)   KB2548139
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2548139.
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2549864)   KB2549864
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2549864.
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2565057)   KB2565057
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2565057.
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2635973)   KB2635973
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2635973.
  
  Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2736182)   KB2736182
  This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this hotfix will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2736182.
  
  Indent Guides   12.1
  Indent Guides
  
  Adds visual guides at each indentation level.
  
  Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509)   KB983509
  This service pack is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this service pack will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/983509.
  
  MySQL Connector/Net   6.5.4
  Data design and management tools for MySQL.  Copyright © 2007-2011 Oracle, Inc.
  
  Security Update for Microsoft Visual Studio 2010 Professional - ENU (KB2645410)   KB2645410
  This security update is for Microsoft Visual Studio 2010 Professional - ENU.
  If you later install a more recent service pack, this security update will be uninstalled automatically.
  For more information, visit http://support.microsoft.com/kb/2645410.
  </code></pre>