microsoft / microsoft/powerplatform-actions

Error while building cdsproj with a reference to a dependent assembly plugin project

Open
#325 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
301
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Getting following error while building .cdsproj file
Unable to find assembly registration configuration fo
r ..{Plugin_Project_Name}\bin\Debug\net462\PCATPluginInit.dll in the destination: obj\Debug\Metadata\PluginAssemblies [..\SolutionPackage\Lynner_Plugins\Lynner_Plugins.cdsproj]

Steps to reproduce:

  • Clone the solution with 'Plugin Package' component using 'pac solution clone'
    image

  • Clone completed successfully and could see following folders.
    image

  • Add the plugin project to .cdspoj using 'pac solution add-reference' command (Following is my simple plugin project)
    image

  • Build the .cdsproj to generate solution.zip files. At this step getting following error
    image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by running pac solution clone, pac solution add-reference, and then building the referenced .cdsproj. Inspect how the dependent plugin assembly is registered under obj\Debug\Metadata\PluginAssemblies; done means the .cdsproj builds and generates solution.zip without the assembly-registration error.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.