MSTest cannot find the assembly

aeruL picture aeruL · Mar 30, 2011 · Viewed 13.9k times · Source

I was using MSTest

and i use command mstest /testsettings:local.Testsetting /testcontainer:folder\obj\Debug\test.dll

and this is the output,

Run has the following issue(s): Warning: Test Run deployment issue: The assembly or module 'Microsoft.Practices. Prism' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Project.Common.dll' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Project.Infrastructure.dll' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Microsoft.Practices. Prism' directly or indirectly referenced by the test container 'test.dll' was not found.

What can i do so MSTest can run well.

Answer

Ewald Hofman picture Ewald Hofman · Mar 30, 2011

You can install the Prism file in the GAC of your build server.