CsprojToVs2017
CsprojToVs2017 copied to clipboard
Converting an old unit test project leaves reference to MS Test Framework
I'll try and post an example project later, but after converting two old unit test projects, I was left with the following references in each one which I had to manually delete:
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
</ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework">
<HintPath>..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
</Reference>
The MSTest unit test packages had been correctly added in so it clearly detected that they were unit test projects.
I also have this and the converted CodedUITest can't be compiled, because the CodedUITestAttribute is not found
I've created a new CodedUI Project in VS2017 15.6 and here the old format is used. So is CodedUI not compatible with the new csproj format? Should it be excluded?