Developer forum

Forum » Development » Local AppStore package not showing icon

Local AppStore package not showing icon

Wilfred Polderman
Reply

Hi all, 

When installing a custom app via a local .nupkg file, the package icon defined via <PackageIcon> in the .csproj is not displayed in the AppStore UI.

Expected behavior: The icon defined in the NuGet package should be displayed in the AppStore, similar to how packages installed from the public NuGet feed display their icon (e.g. Klarna Checkout).

Current behavior: The icon is not displayed for locally installed packages. Only the default placeholder icon is shown.

What i tried:

  1. Add an icon to the project, e.g. Images\eWings_32x32.png
  2. Configure the .csproj as follows:
  3. Build the project
  4. Upload/install the .nupkg

Is there another way of doing is?

Kind regards, 

Wilfred Polderman


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Wilfred,
could  you try to put the icon file into the root folder/same folder as the .csproj file and use this syntax instead?

<ItemGroup>
  <None Update="kustom-logo.png">
    <Pack>True</Pack>
    <PackagePath>\</PackagePath>
  </None>
</ItemGroup>

BR, Dmitrij
 
Wilfred Polderman
Reply

Hi Dmitriy,

Thank you for your response.

Unfortunantly, this didn't solve the issue.

What i tried in the .csproj:

Put the image in the .csproj:

Inside the .nupkg file, i can see the image is present:

Also inside the .nuspec file i can also see the image is present: 

Do you notice something that could solve this issue?

Kind regards, 

Wilfred Polderman

 

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Wilfred,
I am sorry but that is a bug in the Local AddIn provider, I have created #27820 to fix that.
BR, Dmitrij

Votes for this answer: 1
 
Wilfred Polderman
Reply

Hi Dmitriy,

Thank you for your answer.

Okay, that's good to know. Do you have any insight on when this issue will be solved? 

Kind regards, 

Wilfred Polderman

 

You must be logged in to post in the forum