Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2010 SP1 to 11 Beta - Unit Test Project Cannot be Loaded
    primarykey
    data
    text
    <p>We have a Visual Studio 2010 SP1 Framework 4.0 solution, and a C# project in it that contains unit tests.</p> <p>I uninstalled VS2010 and installed VS11 Beta in a Windows 7 OS. I tried to connect out TFS, did a "get latest" and everything worked fine. Except our unit test project did not open. Its project file checked out automatically but a "load failed" warning is displayed next to the project itself. And under that writes "the project cannot be converted". If you undo checkout, that warning changes to "the project requires user input".</p> <p>Is there a specific reason or solution for this problem, or is it because VS11 is still in beta?</p> <p>Thank you.</p> <p>Here is my csproj file:</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;{7FD06E47-4783-494F-ACB1-256DAB8C0736}&lt;/ProjectGuid&gt; &lt;OutputType&gt;Library&lt;/OutputType&gt; &lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt; &lt;RootNamespace&gt;MyProject_TEST&lt;/RootNamespace&gt; &lt;AssemblyName&gt;MyProject_TEST&lt;/AssemblyName&gt; &lt;TargetFrameworkVersion&gt;v4.0&lt;/TargetFrameworkVersion&gt; &lt;FileAlignment&gt;512&lt;/FileAlignment&gt; &lt;ProjectTypeGuids&gt;{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}&lt;/ProjectTypeGuids&gt; &lt;SccProjectName&gt;SAK&lt;/SccProjectName&gt; &lt;SccLocalPath&gt;SAK&lt;/SccLocalPath&gt; &lt;SccAuxPath&gt;SAK&lt;/SccAuxPath&gt; &lt;SccProvider&gt;SAK&lt;/SccProvider&gt; &lt;VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''"&gt;10.0&lt;/VisualStudioVersion&gt; &lt;VSToolsPath Condition="'$(VSToolsPath)' == ''"&gt;$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)&lt;/VSToolsPath&gt; &lt;ReferencePath&gt;$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages&lt;/ReferencePath&gt; &lt;IsCodedUITest&gt;False&lt;/IsCodedUITest&gt; &lt;TestProjectType&gt;WebTest&lt;/TestProjectType&gt; &lt;FileUpgradeFlags&gt;0&lt;/FileUpgradeFlags&gt; &lt;OldToolsVersion&gt;4.0&lt;/OldToolsVersion&gt; &lt;UpgradeBackupLocation&gt;D:\Projects\Work\MyProject\Backup2\&lt;/UpgradeBackupLocation&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\Debug\&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\Release\&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="Enocta_DataLayer, Version=1.0.0.161, Culture=neutral, processorArchitecture=MSIL"&gt; &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt; &lt;HintPath&gt;..\MyProject_COMMON\assemblies\MyProject_DataLayer.dll&lt;/HintPath&gt; &lt;/Reference&gt; &lt;Reference Include="Enocta_Utils, Version=1.0.0.161, Culture=neutral, processorArchitecture=MSIL"&gt; &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt; &lt;HintPath&gt;..\MyProject_COMMON\assemblies\MyProject_Utils.dll&lt;/HintPath&gt; &lt;/Reference&gt; &lt;Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /&gt; &lt;Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt; &lt;Reference Include="Microsoft.VisualStudio.Zip, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /&gt; &lt;Reference Include="System" /&gt; &lt;Reference Include="System.configuration" /&gt; &lt;Reference Include="System.Core"&gt; &lt;RequiredTargetFramework&gt;3.5&lt;/RequiredTargetFramework&gt; &lt;/Reference&gt; &lt;Reference Include="System.Data" /&gt; &lt;Reference Include="System.Data.DataSetExtensions" /&gt; &lt;Reference Include="System.Drawing" /&gt; &lt;Reference Include="System.Web" /&gt; &lt;Reference Include="System.Web.Extensions" /&gt; &lt;Reference Include="System.XML" /&gt; &lt;Reference Include="System.Xml.Linq" /&gt; &lt;/ItemGroup&gt; &lt;ItemGroup&gt; &lt;CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"&gt; &lt;Visible&gt;False&lt;/Visible&gt; &lt;/CodeAnalysisDependentAssemblyPaths&gt; &lt;/ItemGroup&gt; &lt;ItemGroup&gt; &lt;Compile Include="[my cs files here].cs" /&gt; &lt;/ItemGroup&gt; &lt;ItemGroup&gt; &lt;ProjectReference Include="..\MyProject_COMMON\MyProject_Common.csproj"&gt; &lt;Project&gt;{8EC6C7D7-C89A-4D61-8AE6-32186F3080F1}&lt;/Project&gt; &lt;Name&gt;MyProject_Common&lt;/Name&gt; &lt;/ProjectReference&gt; &lt;ProjectReference Include="..\MyProject_DBHANDLER\MyProject_DBHandler.csproj"&gt; &lt;Project&gt;{5C4BBE2F-5C21-4649-B894-B9F7AD3FB619}&lt;/Project&gt; &lt;Name&gt;MyProject_DBHandler&lt;/Name&gt; &lt;/ProjectReference&gt; &lt;ProjectReference Include="..\MyProject_WebCommon\MyProject_WebCommon.csproj"&gt; &lt;Project&gt;{549106FD-93DC-4E0B-89BF-1CD41E20762D}&lt;/Project&gt; &lt;Name&gt;MyProject_WebCommon&lt;/Name&gt; &lt;/ProjectReference&gt; &lt;/ItemGroup&gt; &lt;ItemGroup&gt; &lt;None Include="App.config" /&gt; &lt;/ItemGroup&gt; &lt;Choose&gt; &lt;When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"&gt; &lt;ItemGroup&gt; &lt;Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"&gt; &lt;Private&gt;False&lt;/Private&gt; &lt;/Reference&gt; &lt;Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"&gt; &lt;Private&gt;False&lt;/Private&gt; &lt;/Reference&gt; &lt;Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"&gt; &lt;Private&gt;False&lt;/Private&gt; &lt;/Reference&gt; &lt;Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"&gt; &lt;Private&gt;False&lt;/Private&gt; &lt;/Reference&gt; &lt;/ItemGroup&gt; &lt;/When&gt; &lt;/Choose&gt; &lt;Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /&gt; &lt;Import Project="$(MSBuildBinPath)\Microsoft.CSharp.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;/Project&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload