Skip to content

How to sync Workflows and Plugins that are in one project (dll)? #41

@RemyDuijkeren

Description

@RemyDuijkeren

I'm using Daxif from C# in my build (NUKE https://nuke.build/) which works well. Now I'm trying to merge my custom Workflows and Plugins projects into one Extensions project (and therefore one dll).

My code executes the following steps, which work if the Workflows and Plugins are in separate dll's.

        DG.Daxif.Workflow.Sync(
            env: SourceEnvironment,
            assemblyPath: SourceDirectory / "Extensions" / "bin" / Configuration / "net462" / $"{SolutionInfo.baseNamespace}.dll",
            solutionName: SolutionInfo.name,
            isolationMode: null,
            logLevel: null
        );

        DG.Daxif.Plugin.Sync(
            env: SourceEnvironment,
            assemblyPath: SourceDirectory / "Extensions" / "bin" / Configuration / "net462" / $"{SolutionInfo.baseNamespace}.dll",
            projectPath: SourceDirectory / "Extensions" / "Extensions.csproj",
            solutionName: SolutionInfo.name,
            dryRun: false,
            isolationMode: null,
            ignoreOutdatedAssembly: null,
            logLevel: null
        );

I expected that the registration would of Workflows and Plugins in one dll would go well.

What happens is that the second step (DG.Daxif.Plugin.Sync) removes the custom workflow activities that are registrated in the step before.
image

Is there a way the prevent the removing of custom workflow activities when syncing plugins? First syncing the plugins and than the workflows doesn't work.

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