Open Closed

Background Image din change after Publish #879


User avatar
0
Leaf created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have replace the bg-transparent.png in under Themes\Lepton\Global\assets\backgrounds, while debuging the background image is shown what we update but when publish to Azure APp Service and Server IIS, the background image auto turn back to the ABP original background.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    when publish to Azure APp Service and Server IIS, the background image auto turn back to the ABP original background.

    You can try to add your png files to EmbeddedResource like below:

    <ItemGroup>
        <EmbeddedResource Include="Themes\**\*.png" />
        <Content Remove="Themes\**\*.png" />
    </ItemGroup>
    
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11