Starts in:
3 DAYS
3 HRS
12 MIN
58 SEC
Starts in:
3 D
3 H
12 M
58 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06