{"id":3924,"date":"2014-03-30T06:24:08","date_gmt":"2014-03-30T06:24:08","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/could-not-load-file-or-assembly-my-custom-assembly-dll-version1-0-0-0-cultureneutral-publickeytokendef751c98b41d765-or-one-of-its-dependencies-collection-of-common-programming-errors\/"},"modified":"2014-03-30T06:24:08","modified_gmt":"2014-03-30T06:24:08","slug":"could-not-load-file-or-assembly-my-custom-assembly-dll-version1-0-0-0-cultureneutral-publickeytokendef751c98b41d765-or-one-of-its-dependencies-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/could-not-load-file-or-assembly-my-custom-assembly-dll-version1-0-0-0-cultureneutral-publickeytokendef751c98b41d765-or-one-of-its-dependencies-collection-of-common-programming-errors\/","title":{"rendered":"Could not load file or assembly My.Custom.Assembly.dll, Version=1.0.0.0 Culture=neutral, PublicKeyToken=def751c98b41d765 or one of its dependencies-Collection of common programming errors"},"content":{"rendered":"<p>In Microsoft Dynamics CRM 2011, I wrote one plug-in in C# for Account entity to do some operations on fields when Account record is created. In C# code I created my own custom assembly called My.Custom.Assembly.dll. Which contains some generic methods those I can use often in my plug-in. And I using this My.Custom.Assembly.dll and also added in reference in my project. Project builds successfully and plug-in registration also.<\/p>\n<p>The problem I faced when I was creating a Account record. Its throwing an error: <strong>&#8220;Could not load file or assembly My.Custom.Assembly.dll, Version=1.0.0.0 Culture=neutral, PublicKeyToken=def751c98b41d765 or one of its dependencies.The System cannot find the file specified.&#8221;<\/strong><\/p>\n<p>\nI got to know the problem is with <strong>My.Custom.Assembly.dll<\/strong>. Can you please help me to solve this problem..?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Microsoft Dynamics CRM 2011, I wrote one plug-in in C# for Account entity to do some operations on fields when Account record is created. In C# code I created my own custom assembly called My.Custom.Assembly.dll. Which contains some generic methods those I can use often in my plug-in. And I using this My.Custom.Assembly.dll and [&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-3924","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3924","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=3924"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3924\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}