Error registering plugins and/or workflows. Plug-in assembly does not contain the required types or assembly content cannot be updated

后端 未结 15 1682
谎友^
谎友^ 2021-01-12 01:48

I implemented one custom workflow in in Visual Studio 2010 using CRM 2011 Developer Toolkit. It was working fine with system generated namespace. But, when I changed the nam

相关标签:
15条回答
  • 2021-01-12 02:16

    Try to change assembly version.

    0 讨论(0)
  • 2021-01-12 02:18

    In our case we used ILMerge and accidentally we merged Microsoft.Xrm.Sdk.dll into our plugin, removing this dll (copy local = false) fixed the issue.

    This merged dll was not working anyway as it throw security exception

    Inheritance security rules violated while overriding member: 'Microsoft.IdentityModel.Claims.ClaimsIdentity.System.Runtime.Serialization.ISerializeable.GetObjectData

    this GetObjectData was present in Microsoft.Xrm.Sdk.dll hence security exception from SandBox deployment.

    0 讨论(0)
  • 2021-01-12 02:22

    Unregister the plugin, then register it again.

    0 讨论(0)
提交回复
热议问题