Type ‘TestClassAttribute’ exists in both ‘Microsoft.VisualStudio.QualityTools.UnitTestFramework and ‘Microsoft.VisualStudio.TestPlatform.TestFramework

I drop the Microsoft.VisualStudio.QualityTools.UnitTestFramework from the unit test project references and it worked. It successfully compile and run my tests.

I couldn’t find any documentation that supports this fix.

Leave a Comment