Unit test runner cannot resolve a type: target assembly was not copied to ..\Out folder

Hi All,

I run into a weird issue. I have a reference to Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging assembly in my test project. The assembly is used by late binding mechanics, but marked with Copy local true property. It goes to bin\Debug folder with success, but the test fails with "cannot resolve a type" exception. It has turned out the Assembly.Location folder doesn't contains the assembly though.

what was wrong? How to fix this?

thanks in advance,

Antony.

Please sign in to leave a comment.