{"id":5784,"date":"2014-04-07T09:08:55","date_gmt":"2014-04-07T09:08:55","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/07\/detect-and-reference-different-dll-versions-collection-of-common-programming-errors\/"},"modified":"2014-04-07T09:08:55","modified_gmt":"2014-04-07T09:08:55","slug":"detect-and-reference-different-dll-versions-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/07\/detect-and-reference-different-dll-versions-collection-of-common-programming-errors\/","title":{"rendered":"Detect and Reference different DLL versions-Collection of common programming errors"},"content":{"rendered":"<p>Little background. Working at a company that is transitioning to hosted only, but we have some customer that aren&#8217;t. We only support\u00a0maintenance\u00a0of non-hosted customers. Anyway, we are taking advantage of our hosted environment and one of our core DLL files is changing.\u00a0<\/p>\n<p>We&#8217;d prefer not to have two different versions of all of our projects, one for\u00a0hosted\u00a0and one for not, only because DLLs are changing. Is there a way in .NET to detect different DLL versions and then use delegates to manage the slight difference in code?<\/p>\n<p>Typically, when a new DLL is released, we \u00a0go in an recompile our projects against the new DLL, even though we almost never need to make any code changes.<\/p>\n<p>Thanks<\/p>\n<p>P.S. C# is\u00a0preferred\u00a0in case someone supplies code, but obviously not a huge deal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Little background. Working at a company that is transitioning to hosted only, but we have some customer that aren&#8217;t. We only support\u00a0maintenance\u00a0of non-hosted customers. Anyway, we are taking advantage of our hosted environment and one of our core DLL files is changing.\u00a0 We&#8217;d prefer not to have two different versions of all of our projects, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5784","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5784"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5784\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}