{"id":886,"date":"2014-04-10T14:17:16","date_gmt":"2014-04-10T12:17:16","guid":{"rendered":"http:\/\/darksun190.cn\/?p=886"},"modified":"2014-04-10T14:17:16","modified_gmt":"2014-04-10T12:17:16","slug":"%e5%8f%8d%e7%bc%96%e8%af%91-net%e7%a8%8b%e5%ba%8f%e5%8f%8a%e8%b0%83%e8%af%95","status":"publish","type":"post","link":"http:\/\/darksun190.cn\/blog\/?p=886","title":{"rendered":"\u53cd\u7f16\u8bd1.NET\u7a0b\u5e8f\u53ca\u8c03\u8bd5"},"content":{"rendered":"<p>\u60f3\u8981\u4e86\u89e3\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bfb\u4ee3\u7801\uff0c\u60f3\u4e86\u89e3\u522b\u7684\uff0c\u5c31\u5f97\u53cd\u7f16\u8bd1\u4e86\u3002<\/p>\n<p>\u5176\u5b9e.NET\u7684\u53cd\u7f16\u8bd1\u7b97\u662f\u65b9\u4fbf\u7684\uff0c\u6bd5\u7adf\u662fIL\u4e2d\u95f4\u8bed\u8a00\u800c\u4e0d\u662f\u673a\u5668\u7801\u6216\u8005\u6c47\u7f16\uff0c\u4e0d\u8fc7\u5f53\u6211\u9700\u8981\u8fd9\u4e2a\u529f\u80fd\u5e76\u5f00\u59cb\u627e\u7684\u65f6\u5019\u53d1\u73b0\u9009\u62e9\u5e76\u4e0d\u591a\uff0c\u5176\u5b9e\u5c31\u4e24\u4e2a\uff1aReflector\u548cILSpy\u3002<\/p>\n<p>Reflector\u66f4\u6709\u540d\uff0c\u4e0d\u8fc72011\u5e74\u5f00\u59cb\u8f6c\u5411\u4e86\u6536\u8d39\uff0cILSpy\u5219\u662f?Development started after Red Gate?<a href=\"http:\/\/www.red-gate.com\/products\/dotnet-development\/reflector\/announcement\">announced<\/a>?that the free version of .NET Reflector would cease to exist by end of February 2011.<\/p>\n<p>\u4f46\u662f2012\u5e74\u5f00\u59cbILSpy\u4e5f\u505c\u6b62\u4e86\u66f4\u65b0\uff0c\u6309\u7406\u8bf4\u4e00\u4e2a\u5f00\u6e90\u8f6f\u4ef6\u505c\u6b62\u66f4\u65b0\u57fa\u672c\u4e24\u4e2a\u539f\u56e0\uff1a1.\u793e\u533a\u4eba\u8dd1\u5149\u4e86\uff1b2.\u4e00\u4e9b\u6cd5\u5f8b\u6216\u8005\u5176\u4ed6\u516c\u53f8\u7684\u5e72\u9884\u3002ILSpy\u548cSharpDevelop\u662f\u4e00\u4e2a\u793e\u533a\uff0c\u4e00\u76f4\u975e\u5e38\u6d3b\u8dc3\uff0c\u6240\u4ee5\u5f00\u59cb\u6211\u89c9\u5f97\u662fM$\u53c8\u52a8\u624b\u811a\u4e86\u3002<\/p>\n<p>\u5b9e\u9645\u60c5\u51b5\u662fILSpy\u7684\u9879\u76ee\u6574\u5408\u5230\u4e86SharpDevelop\u91cc\u9762\uff0c\u4e0d\u8fc7\u6ca1\u6709\u4efb\u4f55\u660e\u786e\u7684\u516c\u544a\uff0c\u6211\u60f3\u539f\u56e0\u53ef\u80fd\u662f\u906d\u5230\u4e86M$\u7684\u538b\u529b\u6216\u8005\u6838\u5fc3\u6210\u5458\u6709\u4e89\u8bba\u3002<\/p>\n<p>ILSpy1.0\u5f00\u59cb\u5c31\u652f\u6301\u76f4\u63a5\u53cd\u7f16\u8bd1DLL\u7136\u540e\u76f4\u63a5attach\u8c03\u8bd5\uff0c\u8bbe\u65ad\u70b9\u4ec0\u4e48\u7684\uff0c\u4f46\u662f2.0\u5f00\u59cb\u53d8\u6210\u4e86\u63d2\u4ef6\u9700\u8981\u81ea\u5df1\u7f16\u8bd1\uff08\u4e8c\u8fdb\u5236\u5305\u91cc\u8fd9\u4e2a\u88ab\u5220\u4e86\uff0c\u6e90\u7801\u5305\u91cc\u6709\uff09\u30022.1\u7684\u65f6\u5019\u8fde\u6e90\u7801\u91cc\u4e5f\u6ca1\u6709\u4e86\u800c\u4e14\u6700\u65b0\u7684\u4e00\u4e2a\u53d1\u5e03\u91cc\u9762\u6709\u51b2\u7a81\u3002ILSpy\u7684Debug\u529f\u80fd\u6d88\u5931\u51e0\u4e4e\u662f\u548cILSpy\u505c\u6b62\u5f00\u53d1\u540c\u65f6\uff0c\u518d\u540c\u65f6\uff0cSharpDevelop\u51fa\u4e86\u7c7b\u4f3c\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u5728\u8c03\u8bd5\u7684\u540c\u65f6\u53cd\u7f16\u8bd1\u7b2c\u4e09\u65b9\u5e93\u3002<\/p>\n<p>\u672c\u8d28\u4e0a\u8fd9\u5176\u5b9e\u662f\u4e00\u4e2a\u529f\u80fd\uff0c\u4f46\u662f\u5b9e\u9645\u4e0aILSpy\u539f\u6765\u7684\u7528\u6cd5\u66f4\u65b9\u4fbf\uff0c\u56e0\u4e3a\u4e0d\u9700\u8981\u6784\u9020Solution\u6572\u4efb\u4f55\u4ee3\u7801\uff0c\u76f4\u63a5\u53ef\u4ee5\u7528\u3002<\/p>\n<p>\u6211\u60f3\u539f\u56e0\u53ef\u80fd\u662f\uff1a<\/p>\n<p>1.\u8fc7\u4e8e\u7b80\u5355\u7684\u53cd\u7f16\u8bd1\u64cd\u4f5c\u4f7f\u5f97\u95e8\u69db\u964d\u4f4e\uff0c\u53ef\u80fd\u53d7\u5230\u4e86\u4e00\u4e9b\u538b\u529b\u3002<\/p>\n<p>2.\u5f00\u53d1\u8fd9\u4e2a\u9879\u76ee\u7684\u793e\u533a\u76ee\u7684\u662f\u65b9\u4fbf\u5f00\u53d1\u4eba\u5458\u8c03\u8bd5\u81ea\u5df1\u7684\u7a0b\u5e8f\uff0c\u800c\u4e0d\u662f\u53bb\u527d\u7a83\u4ed6\u4eba\u7684\u52b3\u52a8\uff0c\u6240\u4ee5\u4eba\u4e3a\u5730\u52a0\u4e86\u4e00\u4e9b\u9650\u5236\u3002<\/p>\n<p>\u4e0d\u7ba1\u600e\u4e48\u6837\uff0c\u73b0\u5728\u7684\u786e\u4e0d\u65b9\u4fbf\u4e86\uff0c\u867d\u7136\u53ef\u4ee5\u75282.0\u7248\uff0c\u4e0d\u8fc72.0\u4e0d\u652f\u630164\u4f4d\u7684\u73af\u5883= =\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60f3\u8981\u4e86\u89e3\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bfb\u4ee3\u7801\uff0c\u60f3\u4e86\u89e3\u522b\u7684\uff0c\u5c31\u5f97\u53cd\u7f16\u8bd1\u4e86\u3002 \u5176\u5b9e.NET\u7684\u53cd\u7f16\u8bd1\u7b97\u662f\u65b9\u4fbf\u7684\uff0c\u6bd5\u7adf\u662fIL\u4e2d &hellip; <a href=\"http:\/\/darksun190.cn\/blog\/?p=886\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u53cd\u7f16\u8bd1.NET\u7a0b\u5e8f\u53ca\u8c03\u8bd5\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-886","post","type-post","status-publish","format-standard","hentry","category-cs"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=\/wp\/v2\/posts\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=886"}],"version-history":[{"count":0,"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=\/wp\/v2\/posts\/886\/revisions"}],"wp:attachment":[{"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darksun190.cn\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}