You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying a workflow using a CodeActivity base class you get the following error.
Plug-in assembly does not contain the required types or assembly content cannot be updated.
There are no issues when using XRMToolBox.
Expected Behaviour
If I uses a BaseClass I would like to be able to deploy using the provided WorkflowSyncDev.fsx script. Ideally without the baseclass showing up in CRM.
Possible Solution
Maybe an extra attribute on the baseclass that tells delegate this is a baseclass and should not be registered?
Reproduction Steps
Create a class that extends from the WorkflowBase class added to this issue
Run the WorkflowSyncDev.fsx
Environment
CRM 2011 on-premise latest rollup
.NET 4.5.2 for both the scripts + the code activities
Detailed Description
Can be found in the files attached.
This error also show up when there is no logic inside of the Workflow.
In practice we do not make that many custom workflow activities (we ❤ plugins), and the custom workflow activities we have simply inherit directly from CodeActivity.
In general, there are potential improvements of the tooling around custom workflow activities (#9 being a good example). It sounds like a good idea to have the tooling support the use of a base class, as you mention here - just be aware that this is not high on our list of priorities. Pull requests are very welcome! :)
Current Behaviour
When deploying a workflow using a CodeActivity base class you get the following error.
Plug-in assembly does not contain the required types or assembly content cannot be updated.
There are no issues when using XRMToolBox.
Expected Behaviour
If I uses a BaseClass I would like to be able to deploy using the provided WorkflowSyncDev.fsx script. Ideally without the baseclass showing up in CRM.
Possible Solution
Maybe an extra attribute on the baseclass that tells delegate this is a baseclass and should not be registered?
Reproduction Steps
Environment
CRM 2011 on-premise latest rollup
.NET 4.5.2 for both the scripts + the code activities
Detailed Description
Can be found in the files attached.
This error also show up when there is no logic inside of the Workflow.
WorkflowBase.txt
ErrorMessage.txt
The text was updated successfully, but these errors were encountered: