web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to find assembl...
Power Apps
Answered

Unable to find assembly registration configuration

(0) ShareShare
ReportReport
Posted on by 45

I'm trying to build to a PAC solution containing a plugin project (created by 'pac plugin init') by following instructions from https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls#create-a-plug-in-project-and-add-a-reference-to-it-in-your-solution

 

But I am getting the following error. It is looking for plugin registration configurations and I certainly did not define them. How do I define assembly registration configuration for the plugin project? 

 

PluginBuildError.png

I have the same question (0)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    @cakhaing,

     

    Could you share the commands or steps? so we can reproduce your issue.

    Sik

  • AKhaing Profile Picture
    45 on at

    @v-siky-msft Here is the recorded steps.

     

    https://www.youtube.com/watch?v=67mI0LSz2oE&feature=youtu.be 

  • Verified answer
    RajYRaman Profile Picture
    270 on at

    Hi @cakhaing 

     

    The build process seems to be using Solution Packager. So, folder structure needs to be in a structure acceptable for Solution Packager.

     

    So, I had to do the below to get this working.

    1. Add new node in Solution.xml for the plugin assembly

     

    2. Create the folder structure that matches what you specified in the Solution.xml

    image.png

    3. Below is the xml I used.

     

    <?xml version="1.0" encoding="utf-8"?>
    <PluginAssembly FullName="pacplugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=086a4ebfa030abc1" PluginAssemblyId="f0d86b48-0377-4697-81a0-ee054aa16bff" CustomizationLevel="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <IsolationMode>2</IsolationMode>
     <SourceType>0</SourceType>
     <IntroducedVersion>1.0</IntroducedVersion>
     <FileName>/PluginAssemblies/pacplugin-f0d86b48-0377-4697-81a0-ee054aa16bff/pacplugin.dll</FileName>
     <PluginTypes>
     <PluginType AssemblyQualifiedName="pacplugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=086a4ebfa030abc1" PluginTypeId="abfc98bc-f290-4f52-949b-eb37af1c992a" Name="pacplugin.Plugin1"></PluginType>
     </PluginTypes>
    </PluginAssembly>

     

    Once I did these steps I was able to build the project.

    image.png

     

    This process appears to be very clunky at the moment. Maybe it is not meant to be used for general consumption yet.

  • AKhaing Profile Picture
    45 on at

    Thanks @rajyraman 

    It is very helpful. I am able to build the package. 👍

  • Roshan Gautam Profile Picture
    7 on at

    Hey @rajyraman thanks for sharing what worked for you. Am trying something similar but can't get past the error even after adding the *.dll.data.xml file. Do you mind sharing what exactly did you add in solution.xml. I added a RootComponent for plugin assembly but that doesn't seem to cut it

     

    <RootComponent type="91" id="{57080957-da9b-4002-8972-3f4635ce4e77}" schemaName="AnalogRobotSamplePlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e6c447cca54a5a8f" behavior="0" />

     

    I keep getting the same error, it seems the build task is not able to map dll file with its corresponding configuration file

    C:\Users\Saphira\.nuget\packages\microsoft.powerapps.msbuild.solution\1.3.6\build\Microsoft.PowerApps.MSBuild.Solution.targets(104,5): error : Unable to find assembly registration configuration for C:\Users\Saph
    ira\Developer\code\pacplugin\bin\Debug\net462\pacplugin.dll in the destination: obj\Debug\Metadata\PluginAssemblies [C:\Users\Saphira\Developer\code\pacplugin\solution\solution.cdsproj]

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard