2010-09-20 22 views
4

可能重複:
How to tell if .net app was compiled in DEBUG or RELEASE mode?C#:調試VS release.dlls

嗨,

如果我有第三方預編譯的代碼,我怎麼能告訴我們,如果.dll提供的是發行版或調試版本?

如果.pdb文件與.dll一起存在,是否意味着dll是調試版本?

感謝 尼克

+1

http://stackoverflow.com/questions/798971/how-to-idenfiy-if-the-dll-is-debug-or-release-build-in-net – InSane 2010-09-20 10:27:11

+0

PDB文件包含有助於排除故障的信息。爲什麼你不希望這個發佈版本呢? – 2010-09-20 10:32:11

+0

同類者問題在#1,一個問題,和很多很多不同的答案: http://stackoverflow.com/questions/654450/programatically-detecting-release-debug-mode-net 的http://計算器。如果該dll是調試或發佈版本內網 http://stackoverflow.com/questions/194616/how-to-tell -if-net-app-was-compiled-in-debug-or-release-mode http://stackoverflow.com/questions/50900/best-way-to-detect-a-release-build-from- a-debug-build-net http://stackoverflow.com/questions/890459/asp-net-release-build-vs-debug-build – Kiquenet 2011-02-03 19:55:22

回答