Skip to main content

Notifications

Dynamics 365 Community / Forums / Field Service forum / Your package does not ...
Field Service forum
Suggested answer

Your package does not contain package deployer dll and the managed solution is not properly structured for AppSource Package.

Posted on by 140

Hi,

Anyone please provide me the steps for create managed solution for appsource package and what it means by "Your package does not contain package deployer dll".What i have to do for solve this?.For Appsource, settings--> solutions-->exported solution will not work?

Im new to it .please guide me

Thanks

  • Suggested answer
    Nya Profile Picture
    Nya 29,054 on at
    RE: Your package does not contain package deployer dll and the managed solution is not properly structured for AppSource Package.

    Hi, Bala

    Package deployer dll is which the assembly contains the custom code for your package. For example: SamplePackage.dll.

    It must be contained in the package.zip.

     

    So here is the step about how to create the dll file.

    1. Download the Microsoft Dynamics CRM SDK Templates from Microsoft Dynamics CRM SDK Templates - Visual Studio Marketplace.
    2. Create a new project in Visual Studio using the CRM Package template.

     2_2D00_1.png

    2_2D00_2.png

    1. Add your managed solution file to PkgFolder and set the Copy to Output Directory as Copy always.

     5852.png

    1. Update the HTML files.

    In the HTML folders of the EndHtml and WelcomeHtml you add the welcome and end text that you want to be displayed in the installation wizard when your product is installed.

     3582.png

    1. Define custom code for your package

    double-click the PackageTemplate.cs file at the root to edit it.

     5127.png

    1. Build the project to create the package.

    You will then get a folder, which will contain your solution files and some other stuff and an assembly e.g. MyProduct.dll which contains the custom code.

    1. Deploy a package.

    You can download and install the Package Deployer Tool from:

    Download tools from NuGet (Developer Guide for Dynamics 365 Customer Engagement) | Microsoft Docs

    Deploy packages using Package Deployer and Windows PowerShell - Power Platform | Microsoft Docs

    1. For the other steps of how to publish an app on AppSource, you can refer the next document:

    Publish your app on AppSource (Microsoft Dataverse) - Power Apps | Microsoft Docs

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans