Error registering plugins and/or workflows. Action failed for assembly ”: Assembly must be registered in isolation.

Dynamics CRM 2011 – Retrieve attribute value using oData
January 22, 2014
Dynamics CRM 2011 – Form CSS with JavaScript
January 28, 2014

Error registering plugins and/or workflows. Action failed for assembly ”: Assembly must be registered in isolation.

Issue: Using the CRM 2011 Development Toolkit and deploying a plugin you get the following error (Example):

Error 36 Error registering plugins and/or workflows. Action failed for assembly ‘TestPlugin.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=[keytoken]’: Assembly must be registered in isolation. C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.12.targets 176 4 CrmPackage

Solution: Open “RegisterFile.crmregister” in the solution explorer and change:

<Solution Assembly="TestPlugin.Workflow.dll" Id="00000000-0000-0000-0000-000000000000" IsolationMode="None" SourceType="Database" />

to:

<Solution Assembly="TestPlugin.Workflow.dll" Id="00000000-0000-0000-0000-000000000000" IsolationMode="Sandbox" SourceType="Database" />
Jason
Jason
I do things in the clloouuudddd