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.
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.
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.
@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.
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.
Just mailing you the log and the solution files now Hemant.
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.
Can you please attach logs for your solution install failure?
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72