Dependencies of references not copied to output directory

后端 未结 3 1198
长情又很酷
长情又很酷 2021-01-03 23:37

I have a CommonUtils lib I have built into a dll which I file reference from several of my projects. CommonUtils depends on log4net.dll which was set as a file reference and

3条回答
  •  被撕碎了的回忆
    2021-01-04 00:15

    When I've had a similar situation in the past, I received a compiler warning within Visual Studio telling me that I needed to add a reference to the dependent library.

    Are you receiving such a warning when you compile? If so, follow the advice it gives and you should find Log4net copied to your output directory.

提交回复
热议问题