Skip to content

EnsureWorkflowActivityAssemblyDataXml fails to discover scaffolded workflow activity assembly #40

Description

@TomProkop

Summary

EnsureWorkflowActivityAssemblyDataXml fails to discover a scaffolded workflow activity assembly during solution build on macOS clean-room validation.

Environment

  • macOS
  • txc 1.14.2
  • templates 1.19.2
  • build SDK 1.2.2

Repro outline

  1. Scaffold a fresh solution workspace.
  2. Add a workflow activity project and reference it from Solutions.Logic.
  3. Build the workflow project successfully.
  4. Build the full solution.

Observed behavior

The workflow project can build successfully, and the DLL is copied into the solution build temp area.

The solution build still fails here:

TALXIS.DevKit.Build.Dataverse.Solution.WorkflowActivity.targets(67,14): error : Exception: WorkflowActivities not found in assembly WorkflowActivities.Warehouse

During investigation:

  • the built assembly contains a public CodeActivity-derived type (WorkflowActivities.Warehouse.CalculateInventoryValueActivity)
  • signing issues were fixed locally
  • System.Activities.dll was made available in bin/Debug/net462 and publish
  • the task still reports no workflow activities found

Expected

If a public non-abstract CodeActivity type exists in the referenced workflow assembly, the task should generate the corresponding workflow activity assembly metadata successfully.

Actual

The task still throws WorkflowActivities not found in assembly ....

Impact

This blocks end-to-end workflow activity coverage even after local remediation of the generated project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions