When release dlls don't work but debug dlls do

前端 未结 15 1373
我寻月下人不归
我寻月下人不归 2020-12-30 03:14

After deploying our huge distributed system to one of our clients we experience an unexpected error. During the investigation we replace the assembly causing the error with

15条回答
  •  借酒劲吻你
    2020-12-30 04:14

    First of all sorry about my English. I know this post is old but I have just the same problem, and I realize that in debug mode the build is made for 32 bit OS, and the release mode is for 64 bit by default. This make the DLL's made for 32 bit doesn't work in release. If you go to Project properties -> build you can choose the architecture you want. This works for me.

提交回复
热议问题