Skip to content

Problem Deploying CodeActivity when using a BaseClass #35

@PopsicleKnight

Description

@PopsicleKnight

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

  1. Create a class that extends from the WorkflowBase class added to this issue
  2. 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.

WorkflowBase.txt
ErrorMessage.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions