Skip to content

Unpack and Pack using mapping file adds plugin assembly twice #1234

@KimBon

Description

@KimBon

When using a map file, and unpack and pack locally, we are seeing that:

  • the plugin assembly is added fine in the PluginAssemblies folder
  • the plugin assembly is added a second time in the root of the solution zip file:
Image

Is this intended behavior?

Mapping file:

<?xml version="1.0" encoding="utf-8"?>
<Mapping>
   <FileToFile map="My.Plugins.dll" to="..\..\..\..\..\NGBE.FSM.PP.Plugins\bin\debug\net462\My.Plugins.dll" />
</Mapping>

Unpack:

pac solution unpack -z c:/export/my_base.zip -p Unmanaged -m .\FileMapping.Debug.Pack.xml -f .\src -ad true -c true

Pack:

pac solution pack --zipfile .\out\my_output.zip --folder .\src -m .\FileMapping.Debug.Pack.xml

Pac cli version: Microsoft.PowerApps.CLI.1.47.1

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