When release dlls don't work but debug dlls do

前端 未结 15 1365
我寻月下人不归
我寻月下人不归 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:07

    You can try and turn off Optimize Code in the Build Settings. What is the actual error you are getting.

    Another thing you can do is compile in release mode but enable the #Debug conditional. This will handle the case if your using Diagnostics.Debug and the code in there effects your application.

提交回复
热议问题