SDK 29 and embedded images

I updated my SDK to SP29 yesterday, and for the most part it has been fine. I have just changed the .NET version to 4.8, rebuilt, and carried on.

I especially like that the “Refresh UI Model” tool seems to work in VS2019 again (finally).

One issue I have noticed is that custom embedded images no longer seem to work after the rebuild. In a Catalog project I have an image flagged as an embedded resource, and I refer to it with the usual syntax. This particular one happens to look like this:

<UIAction ActionID="SELECT" Caption="" ImageKey="CATALOG:Training.Catalog,Training.Catalog.right-arrow_16.png"/

I can look inside the DLL and confirm the image data is still there. But in CRM, I just get the ‘broken image’ icon.

I have tried rebuilding both the catalog and uimodel projects in question under .net 4.8 with no effect. Has anyone else experienced this issue, or resolved it?

Comments

  • I just noticed this today, Joseph. I'll let you know if we find a solution!

  • In my testing, SP29 seemed generally to ignore embedded custom images entirely - it wasn't a build issue as I initially suspected. SP30 seems to have fixed it, although it's not in the release notes as a fixed issue, so it may have been something specific to me (but I don't think so)

  • @Stacey Segal Hi! Did you ever find out any information this issue. We will be upgrading to SP29 shortly and I want to avoid this issue if possible.

    Thank you.

  • @Deirdre Smith
    Hi Deirdre, our tech team is checking, and I'll shoot you an email tomorrow with an update!
    Stacey

Categories