Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QualityToolsPackage failed to load in build?

I am using Bamboo [from Altassian] and it uses the devenv.com builder to build solution files. Currently, I seem to be getting a "false" error in my builds - that I've tried to solve by myself but just can't - so I thought I would ask.

Each build succeeds normally - without errors stemming from code - but seems to instead give this error

Package 'Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage, Microsoft.VisualStudio.QualityTools.TestCaseManagement, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed to load.

I've no idea why this is causing problems in the devenv.com environment and I can't figure out either how to "ignore" this error by some build command?

like image 202
Tom Avatar asked Jan 18 '11 09:01

Tom


1 Answers

Try this ( from MSFT support )

Can you check if the dll is in the global assembly cache (open a VS 2010 command prompt

(Start | All Programs | Microsoft Visual Studio 10.0 | Visual Studio Tools)) 

Type in

Gacutil –l > list.txt  Notepad list.txt 

Do you see an entry like

Microsoft.VisualStudio.QualityTools.TestCaseManagement, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL 

If so, from the same command prompt, run fuslogvw, go to settings, select log bind failures to disk, select ok

Run your command line

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com /Build "Release|Mixed Platforms" "D:\Builds\19\Test VizXView\VizXView v1.8 Test Release Build - Weekly\Sources\VizXView v1.8\VizXView 1.8.sln" 

Click on the refresh button in fuslogvw. Do we get any bind errors?

like image 193
Dr ZIZO Avatar answered Sep 25 '22 23:09

Dr ZIZO