chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi,

I am using VS 2010 and Isolator 6.2. Lately I upgraded VS2010 to SP1 and suddenly VS failed to execute tests with a message that a dll named CodedUITestPackage.dll is missing. I investigated the issue using ProcMon and saw that QTAgent32.exe (the tests agent) was using Typemock Isolator alot. Disabling Typemock Isolator from the application menu stopped this problem. Therefore, I guess this is an Isolator issue.

OS: Window 7 32 bit SP1
Other VS puglins I use: Resharper 6.1 and dotCover 1.2
UnitTesting Framework: MSTest

This is the full exception trace I see on Windows Event Viewer:

The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

(devenv.exe, PID 5328, Thread 1) TuipPackage.InitializeTestProjectPlugins: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage.InitializeTestProjectPlugins()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].


the message resource is present but the message is not found in the string/message table
asked by ikasovitch (600 points)

2 Answers

0 votes
Hi,

I'd like to check this offline, I'll contact you regarding the case.

Regards,
Elisha,
Typemock Support
answered by Elisha (12k points)
0 votes
This is a bug, :evil: we intend to fix it.
The workaround is to add the problematic type to the blacklist.dat file
answered by scott (32k points)
...