Teamcity not DLL's for some NUnit Test projects

前端 未结 2 1968
生来不讨喜
生来不讨喜 2021-01-01 23:58

I get this error when running my Moq tests through Teamcity 5

Test(s) failed. System.IO.FileNotFoundException : Could not load file or assembly \'

2条回答
  •  情话喂你
    2021-01-02 00:08

    I had a similar issue, but found that I had different version's of Moq between my 2 Test projects.

    The issue that I had was that the correct version was not available.

    Just do

    Update-Package Moq
    

    From the Package Manager command line

提交回复
热议问题