I am consistently getting errors upon opening or creating a unit test project in Visual Studio 2012 RC. Where might I find answers on how to resolve this issue. I have tried multiple repair installations. I have tried uninstalling and re-installing. I have removed all but a handful of extensions that come with the product (NuGet). Any help either fixing this bug or finding out where I could get assistance would be welcome.
The 'Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage, Microsoft.VisualStudio.QualityTools.Tips.TuipPackage, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\Me\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml'.
I believe this is the relevant section from that file:
Entering function CVsPackageInfo::HrInstantiatePackage {52CBD135-1F97-2580-011F-C7CD052E44DE}
Begin package loadBegin package load {52CBD135-1F97-2580-011F-C7CD052E44DE}
ERROR SetSite failed for packageSetSite failed for package {52CBD135-1F97-2580-011F-C7CD052E44DE} 80070057 - E_INVALIDARG
ERROR End package loadEnd package load {52CBD135-1F97-2580-011F-C7CD052E44DE} 80070057 - E_INVALIDARG
Entering function CVsPackageInfo::HrInstantiatePackage {52CBD135-1F97-2580-011F-C7CD052E44DE}
Begin package loadBegin package load {52CBD135-1F97-2580-011F-C7CD052E44DE}
ERROR SetSite failed for packageSetSite failed for package {52CBD135-1F97-2580-011F-C7CD052E44DE} 80070057 - E_INVALIDARG
ERROR End package loadEnd package load {52CBD135-1F97-2580-011F-C7CD052E44DE} 80070057 - E_INVALIDARG
The way I stopped getting the error message was to remove the following sections in the .sln file that looked similar to this:
ProjectSection(SolutionItems) = preProject
SomeName.vsmdi = SomeName.vsmdi
Local.testsettings = Local.testsettings
TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings
EndProjectSection
and this:
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = SomeName.vsmdi
EndGlobalSection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With