{"id":4567,"date":"2017-02-23T18:27:03","date_gmt":"2017-02-23T12:57:03","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=4567"},"modified":"2017-02-23T18:27:03","modified_gmt":"2017-02-23T12:57:03","slug":"watch-out-for-issues-with-version-updating-plugin-in-assembly-in-dynamics-365crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/02\/watch-out-for-issues-with-version-updating-plugin-in-assembly-in-dynamics-365crm\/","title":{"rendered":"Watch out for Issues with Version &#038; Updating Plug-in assembly in Dynamics 365\/CRM"},"content":{"rendered":"<p><strong>Introduction:<\/strong><\/p>\n<p style=\"text-align: justify;\">Plugin Assemblies are versioned and need to be signed with a strong key for them to be registered to Dynamics CRM.<\/p>\n<p style=\"text-align: justify;\">Any update to the library and compiling the project may cause the version # to change or to maintain versioning practices you may decide to change the version # and this can cause problems when updating the plugin through Plugin Registration Tool for Dynamics CRM\/365<\/p>\n<p style=\"text-align: justify;\"><strong>Issue:<\/strong><\/p>\n<p style=\"text-align: justify;\">\u201c<strong><em>Plug-in assembly does not contain the required types or assembly content cannot be updated.<\/em><\/strong>\u201d<\/p>\n<p style=\"text-align: justify;\">You might receive the above error when updating an existing plugin assembly with the same code base as before.<\/p>\n<p style=\"text-align: justify;\">When we register a plugin, the project has an assembly information as seen below;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-4566\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/02\/Plugin-in-assembly-in-Dynamics-365.jpg\" alt=\"Plugin-in assembly in Dynamics 365\" width=\"462\" height=\"276\" \/><\/p>\n<p style=\"text-align: justify;\">This Assembly Information comprises of &lt;Major Version&gt;&lt;Minor Version&gt;&lt;Build Number&gt;&lt;Revision&gt;.<\/p>\n<p style=\"text-align: justify;\">After code change we decided to change the Assembly version from 1.0.0.1 to 2.0.0.0 and while dong so using the Plugin Registration Tool we faced above issue.<\/p>\n<p style=\"text-align: justify;\"><strong>Solution:<\/strong><\/p>\n<p style=\"text-align: justify;\">We did some testing and found that the Major and Minor versions of a plugin assembly cannot be changed.<\/p>\n<p style=\"text-align: justify;\"><strong>Conclusion:<\/strong><\/p>\n<p style=\"text-align: justify;\">If you have a plugin registered in production, manage the version by updating the build number or revision part of the version # or you will need to unregister and register it again.<\/p>\n<blockquote><p><span style=\"color: #11c1f2;\"><b><i>QuickBooks Integration with Dynamics 365\/CRM &#8211; Get the Best of Both Worlds with InoLink!<\/i><\/b><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Plugin Assemblies are versioned and need to be signed with a strong key for them to be registered to Dynamics CRM. Any update to the library and compiling the project may cause the version # to change or to maintain versioning practices you may decide to change the version # and this can cause\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/02\/watch-out-for-issues-with-version-updating-plugin-in-assembly-in-dynamics-365crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":4566,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16,19,42],"tags":[567,669,1328,1329],"class_list":["post-4567","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-dynamics-crm","category-plugin","tag-dynamics-365-plugin","tag-dynamics-crm-plugin","tag-plugin-registration-tool-for-dynamics-365","tag-plugin-registration-tool-for-dynamics-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/4567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=4567"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/4567\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/4566"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=4567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=4567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=4567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}