Reference DLL file not copying to bin with deployment project, causing error

前端 未结 14 908
刺人心
刺人心 2020-12-04 09:23

We have several external DLL files being referenced in our Web Application Project. We have a deployment project for installing on the hosting servers. When we were using .N

14条回答
  •  心在旅途
    2020-12-04 09:39

    I had a similar issue with VS 2012 Express. I used Tesseract libraries in my project. Everything worked well until I used this project in a solution where were more than one project. Problem was that some DLLs (liblept168.dll, libtesseract302.dll) that are normally placed in folders bin/debug/x86 or bin/debug/x64 were copied only when I rebuilt whole solution. Changing a single line and building it again caused that the DLLs were deleted and not copied back.

    I solved this issue by adding a reference of the project that creates missing DLLs to the startup project.

提交回复
热议问题