Wednesday, January 14, 2009

NUnit: Could not load file or assembly 'Microsoft.Practices.ObjectBuilder

I use NUnit for testing and was getting this error when using one of the Microsoft app blocks to write stuff to the event log.
Turns out the answer was simple, the Microsoft.Practices.ObjectBuilder.dll simply didn't get copied locally in the test project even though it was set to copy local. I manually copied in the dll and it works great.

No comments:

Post a Comment

Please leave your thoughts, I love hearing what you got out of the post. Spam comments will be removed.