Sunday, 15 May 2011

nunit - How to make TeamCity see the file referenced? -



nunit - How to make TeamCity see the file referenced? -

locally run, works fine. when execute test teamcity next error.

system.io.filenotfoundexception: not load file or assembly 'xxx.lib, version=2.0.5288.17943, culture=neutral, publickeytoken=null' or 1 of dependencies. scheme cannot find file specified. file name: 'xxx.lib, version=2.0.5288.17943, culture=neutral, publickeytoken=null'

to remedy it, checked file referenced. checked in properties copy local set true , path pointing c:\tfs... version command resides.

apparently, file doesn't right position , i'm @ loss because don't know how create want. suggestions?

i suspect it's similar this issue, right here, i've got no idea: 1. how info on where tc looks dll, nor 2. how enforce right path on at.

on build server, have in checkout directory @ \bin\$(configuration) folder test project. msbuild should have copied on referenced libraries specified in project file.

if it's missing there, seek checking library-under-test's \bin\$(configuration) folder, , in turn project file library.

nunit teamcity-8.0

No comments:

Post a Comment