2016-08-19 10 views
1

プラグイン登録ツールを使用してCRM Dynamics 2013でプラグインを更新しようとしていますが、それでも同じエラーが表示されます:プラグイン登録ツール - MS Dynamics 2013.Pluginアセンブリに必要なタイプが含まれていないか、アセンブリコンテンツを更新できません

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Plug-in assembly does not contain the required types or assembly content cannot be updated. 
Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
    <ErrorCode>-2147204725</ErrorCode> 
    <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> 
    <Message>Plug-in assembly does not contain the required types or assembly content cannot be updated.</Message> 
    <Timestamp>2016-08-19T07:56:34.9589441Z</Timestamp> 
    <InnerFault> 
    <ErrorCode>-2147204725</ErrorCode> 
    <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> 
    <Message>Plug-in assembly does not contain the required types or assembly content cannot be updated.</Message> 
    <Timestamp>2016-08-19T07:56:34.9589441Z</Timestamp> 
    <InnerFault i:nil="true" /> 
    <TraceText i:nil="true" /> 
    </InnerFault> 
    <TraceText i:nil="true" /> 
</OrganizationServiceFault> 

Server stack trace: 
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) 
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 

Exception rethrown at [0]: 
    at Microsoft.Crm.Tools.Libraries.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type) 
    at Microsoft.Crm.Tools.AssemblyRegistration.PluginRegistrationViewModel.btnregisterClick() 

RegisterFile.crmregister:

<?xml version="1.0" encoding="utf-8"?> 
<Register xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/crm/2011/tools/pluginregistration"> 
    <Solutions> 
    <Solution Assembly="MarkAsLostOpportunityWhenMarkedAccount.Plugins.dll" Id="e33d47a4-f3ba-440e-a693-2523a2ffe023" IsolationMode="Sandbox" SourceType="Database" /> 
    </Solutions> 
    <XamlWorkflows /> 
</Register> 

私の説明は大丈夫です願っています。 ありがとうございます。エラーがいくつかの理由で発生する可能性があり

答えて

2

は、最も一般的なのは、次のとおりです。

    外部DLLを参照する署名鍵ファイル内
  • 変更
  • は、(使用して固定することができ、クラスのnameで
  • 変更ILMerge)

これらの変更を元に戻して、プラグインを更新する必要があります。 2番目の方法は、プラグインの登録を解除して再度登録する方法です。

関連する問題