Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

Error publishing solution file to D365

(0) ShareShare
ReportReport
Posted on by

Wondering if someone could help me once again.

 

I've created two controls.  Was able to publish first one without a problem, when i added a second control and performed msbuild again then re-imported solution into D365 I get the following issue.

 

republishing.PNG

 

I assumed it was because it was using the same guids, or something like that so i've tried the following:

* Deleting the build directory

* Changing the guids on the proj file.

* Changing from unmanaged to managed solution export.

* Changing publisher names

 

Still getting same issue.  I assume something is being cached, is there a way to start a fresh.

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Error publishing solution file to D365

    Thanks namohant & hemant.. that worked.  Removed preview-image tag from manifest, and deleted img/preview.png from the solution and was able to publish it successfully.

  • Hemant Gaur Profile Picture
    on at
    Re: Error publishing solution file to D365

    @AndrewLyMVP wrote:

    Just mailing you the log and the solution files now Hemant.


    Thanks for reporting. We have the bugs tracking this. Hope you were able to unblock yourself based on the recommendation from our developer. 

  • Verified answer
    namohant Profile Picture
    Microsoft Employee on at
    Re: Error publishing solution file to D365

    edit:

    Kindly remove this from the control manifest "preview-image="img/preview.png"" and try to create a solution and import the same. We will have a bug on this and fix this as we proceed. Thank you again for raising the issue

     

    Instead of removing another way is to add a folder img and place a preview image with the associated name for instance preview.png. and then rezip the solution. That will also resolve the issue. We have filed the bug as well. To ensure this is being addressed from our end.

    SolutrionIssue.pngsamplepreviewimg.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Error publishing solution file to D365

    Just mailing you the log and the solution files now Hemant.

  • Hemant Gaur Profile Picture
    on at
    Re: Error publishing solution file to D365

    This is indeed a custom control error

            public const int CustomControlsImportError = unchecked((int)0x80160000); // -2146041856 
    

     Can you click on the downloag log button in the screenshot you attached and share the logs. Also if you can email me the solution if the import of this solution fails on the fresh org, it would be great. Looks like a bug to me.

  • devendramsft Profile Picture
    Microsoft Employee on at
    Re: Error publishing solution file to D365

    Can you please attach logs for your solution install failure? 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard