DCSIMG
Running Unit Tests End With - “The specified module could not be found” - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Running Unit Tests End With - “The specified module could not be found”

Running Unit Tests End With - “The specified module could not be found”

“The specified module could not be found. (Exception from HRESULT: 0x8007007E)”

Some times your test relay on additional file that need to be in the same folder where Team System running the Test.

Those files can’t be add into the GAC and you can’t copy them manually each time.

So What Do Do?

We need to use Deployment settings
Deployment settings specify deployment location and any file to be deploy in the addition to the target assemblies

Open Test Configuration – Right click on Test Menu –> “Edit Test Run Configuration” –> “Local Test Configuration”

image

Select “Deployment” and check “Enable deployment”.

Add Folder/File to be deploy with your test.

image

Take Notice - If the deployment item are big (size) this will effect the run speed.

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: