I would try two things:
- delete all "obj" and "bin" folders in whole solution (they will be recreated on build)
- add
[DeploymentItem("DCIM.dll")]
attribute in your test project, just before[TestMethod]
attribute (you can also put it before[TestClass]
attribute
Then rebuild everything and try again.
EDIT:
Answered by author in comments: I opened the 'output' window to see if I could follow what was happening and something strange was occurring on build. Even though I had both projects selected to build, it was skipping over the test project in the output window. So I un-ticked both projects to build, re-built the solution, then re-ticked both projects and it's working again. Very odd.
Since the solution came up in comments and it isn't mine, I mark this answer as 'community wiki'.