Unit test project cannot find assembly under test (or dependencies)

前端 未结 10 1982
刺人心
刺人心 2021-01-02 00:31

When I try to run my Unit Test project, I get the following error:

Could not load file or assembly \'ASSEMBLY_NAME, Version=1.0.0.0, Culture=neutral, Pub

10条回答
  •  醉酒成梦
    2021-01-02 01:32

    Check Build->Configuration Manager... menu. All projects should have the same platform and column Build checked.

    Also you can take a look into output of the build (Output window), it usually states more clearly which file could not be found.

提交回复
热议问题