microsoft / microsoft/powerplatform-vscode

solution does not build when adding referencing to plugin project using steps in Microsoft How-To

Open
#406 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

To reproduce (following the steps here https://learn.microsoft.com/en-us/power-apps/developer/component-framework/import-custom-controls#create-a-plug-in-project-and-add-a-reference-to-it-in-your-solution):

> pac solution init -pn xxx -pp xxx
> pac plugin init -o Plugin
> pac solution add-reference -p Plugin
> msbuild or dotnet build or dotnet msbuild

We get the error:

C:\Users\emman.nuget\packages\microsoft.powerapps.msbuild.solution\1.21.5\build\Microsoft.PowerApps.MSBuild.Solution.targets(102,5): error : Unable to find assembly registration configuration for C:\Users\em
man\code\bin\Debug\net462\code.dll in the destination: obj\Debug\Metadata\PluginAssemblies [C:\Users\emman\code\Solution\Solution.cdsproj]

Contributor guide

Open the contributing guide

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 steps with pac solution init, pac plugin init, pac solution add-reference, and dotnet build. Start at Microsoft.PowerApps.MSBuild.Solution.targets line 102 and the generated Solution.cdsproj; done means the referenced plugin solution builds without the assembly registration error.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.