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

后端 未结 15 1691
谎友^
谎友^ 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

    If you are deployong your custome workflows via CRM development toolkint and package and then after that if you have changed any class name or namespace, you must change RegisterFile.crmregister file manually as Visual Studio does not do it for you. So if you change your class name from A to B and your namespace from N to M then 'TypeName' from the below xml in RegisterFile.crmregister file must be as following:

     
    
      
        
          
            
          
        
      
      
    
    

提交回复
热议问题