Unable to run unit tests due to assembly load error


I'm using TeamCity Version 5.1.3 (build 13506) with nunit 2.5.2, I'm specifying two dll's to test in the build configuration page but am getting the following error,

System.IO.FileNotFoundException: Could not load file or assembly (followed by assembly name)

I've turned on assembly binding logging and the first assembly it's trying to load is definitely there are everyone has permission to access it. Also, when the config points to an assembly that doesn't exist teamcity doesn't even try and run unit.

I've attached the full log file.

Any help would be appreciated.

1 comment
Comment actions Permalink

I've answered my own problem, it was the runtime platform setting as I'm compiling my app to x86 I needed to set it to this in the build configuration.


Please sign in to leave a comment.