I can confirm it now runs without an error :)
Okay, I am using LeptonX in my project
putting new favicon.svg in wwwroot worked but I am confused as to point of the \wwwroot\images\favicon location which all solutions create, do I need to change them here as well? what are they used for if I have to manually put it in root anyway? should something during build be moving it to the correct location?
Thanks
no sign of it in my nuget.config which just contains below:
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> <add key="nuget.abp.io" value="https://nuget.abp.io/...../v3/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"> <package pattern="" /> <package pattern="Microsoft." /> <package pattern="Volo." /> </packageSource> <packageSource key="nuget.abp.io"> <package pattern="Volo." /> </packageSource> </packageSourceMapping> </configuration>
Okay I will speak to my host about why that feature not supported as host has full .NET 9 support.
I can't find that file anywhere on my hosting, it just doesn't exist??? i'm confused....
Please explain what you mean? as I just ran abp update command so what else do I need to do?
That seems to have resolved the background image, which now shows correctly. Have I missed something in the documentation about having to change that setting as I would like to understand why it needed changing and didn't work before?
So onto the second point which is why does the favicon not show correctly, as per screenshot above all files are in correct location I believe?
Thanks
Updating new project from v9.01 to v9.02 gives error about leptonx – see output below:
PS C:\Users\User\Documents\Projects\PCA> abp update
[21:28:30 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
📌 ABP CLI 0.9.16 (Beta)
[21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Mvc" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Autofac" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AutoMapper" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Swashbuckle" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Serilog" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Admin.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.Web.OpenIddict" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Account.Pro.Public.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Domain.Identity" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Domain.OpenIddict" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Gdpr.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Gdpr.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Gdpr.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AuditLogging.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AuditLogging.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AuditLogging.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.SettingManagement.Web" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.SettingManagement.HttpApi" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.SettingManagement.Application" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" from v4.0.2 to v4.0.3
[21:28:32 INF] Updating package "Volo.Abp.AuditLogging.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.LanguageManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Gdpr.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.Identity.Pro.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.OpenIddict.Pro.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.BackgroundJobs.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.BlobStoring.Database.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.FeatureManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.PermissionManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.SettingManagement.EntityFrameworkCore" from v9.0.1 to v9.0.2
[21:28:32 INF] Updating package "Volo.Abp.EntityFrameworkCore.SqlServer" from v9.0.1 to v9.0.2
[21:28:32 INF] Package: "Volo.Abp.Studio.Client.AspNetCore-v0.9.16" is up to date
[21:28:32 INF] Updating package "Volo.Abp.Commercial.SuiteTemplates" from v9.0.1 to v9.0.2
[21:28:32 INF] Volo packages are updated in PCA solution
[21:28:32 INF] Checking installed npm global packages...
[21:28:35 INF] Updated @volo/language-management to ~9.0.2 in \PCA\package.json.
[21:28:37 INF] Updated @volo/account to ~9.0.2 in \PCA\package.json.
[21:28:38 INF] Updated @volo/audit-logging to ~9.0.2 in \PCA\package.json.
[21:28:40 INF] Updated @volo/identity to ~9.0.2 in \PCA\package.json.
[21:28:41 INF] Updated @volo/abp.aspnetcore.mvc.ui.theme.leptonx to ~4.0.3 in \PCA\package.json.
[21:28:41 INF] Running Yarn on C:\Users\User\Documents\Projects\PCA\PCA
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
warning chart.js@4.4.7: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/bootstrap > bootstrap@5.3.3" has unmet peer dependency "@popperjs/core@^2.11.8".
warning "@volo/language-management > @volo/abp.aspnetcore.mvc.ui.theme.commercial > @abp/aspnetcore.mvc.ui.theme.shared > @abp/jquery-validation-unobtrusive > @abp/jquery-validation > jquery-validation@1.21.0" has unmet peer dependencyjquery@^1.7 || ^2.0 || ^3.1.
[4/4] Building fresh packages...
success Saved lockfile.
Done in 8.09s.
[21:28:51 INF] Installing client-side packages...
[21:28:51 INF] Found 1 projects.
[21:28:51 INF] C:\Users\User\Documents\Projects\PCA\PCA
[21:28:51 INF] Running Yarn on C:\Users\User\Documents\Projects\PCA\PCA
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.07s.
[21:28:51 INF] Adjusting import versions...
**[21:28:52 ERR] NuGet package not found Package: Volo.Abp.LeptonXTheme.Installer, Version: 4.0.2
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
at async Task Volo.Abp.Studio.Nuget.NugetPackageManager.DownloadAsync(string packageId, string version, bool
useOnlyPublicNuGet)
at async Task<string> Volo.Abp.Studio.Nuget.NugetSourceCodeStore.GetContentsPathAsync(string packageId, string version
)
at async Task<string> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.ISpDzk97Ii(string , string )
at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.xn452iRHb5(string , string version)
at async Task<ModuleInfo> Volo.Abp.Studio.Modules.Installing.RemoteModuleManager.GetModuleInfoAsync(string
referenceModule, string version)
at async Task Volo.Abp.Studio.Modules.ModuleManager.AdjustImportVersionsAsync(string modulePath)
at async Task Volo.Abp.Studio.Cli.Commands.StudioUpdateCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
**
I have reuploaded since that screenshot was taken and all files have same time/date now.
So to recap if I look in the wwwroot folder on my server I can see the background image files and if i manually download one then it is definitely MY chosen background image
If I look in the wwwroot folder on my development computer I can see the three files for my background and opening them confirm they are MY chosen background image
Pressing F5 on my dev computer and debugging in Visual Studio the chosen background appears fine
Uploading files as per link provided it still shows original background, I have deleted all files from server and reuploaded multiple times now.
Also confused as to why background appears differently in different browser, see same site opened in Edge and Chrome side by side below:
They did exist when I did build in Visual Studio? when debugging and viewing locally I see correct background image. If I download files from location you show then it is my correct background. So don't understand what I am missing