Skip to content

[Bug]: pac solution sync does not support nuget assembly plugins #1587

Description

@rezanid

Is this bug related to Code Apps?

No

Description

When I create a new .cdsproj and add a plugin project to it and register it, synchronizing the solution does not bring the plugin assembly nor the package to the local file system.

Extension Version

2.0.143

VS Code Version

1.119.0

VS Code Channel

Stable

Steps to Reproduce

  1. Create a solution using pac solution init
  2. Import the solution into an environment.
  3. Create a plugin using pac plugin init
  4. Write some simple logic in the plugin and build it.
  5. Register the plugin using PRT or XrmTools.
  6. Add the plugin project as a reference to the solution
  7. Sync the solution using pac solution sync.
  8. Build the .cdsproj and it will fail saying that the plugin assembly registration configuration is missing.

If you check the local files you will notice that both the plugin assembly and the plugin package are both missing from the local files and just the SdkMessageStep is synchronized.

Expected Behavior

No response

Actual Behavior

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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