-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor Web App fails to launch when add basic theme #20111
Comments
hi You can test the new rc5 template project. |
Hello @maliming. |
hi Please share the CLI command that you used to create your project. |
I create Blazor Web app with this command - abp new BookStore -t app -u blazor-webapp --preview --theme basic |
hi I'm using version 8.2.0(https://www.nuget.org/packages/Volo.Abp.Cli/8.2.0) of the CLI, and it works fine. Can you upgrade and try again? |
Hi @maliming Now I create project with this command - I've tried to add Basic theme two ways.
Second one:
Maybe I am doing something wrong while adding Basic theme or my command to create blazor web app is wrong or maybe I need to clear a cache? |
Is there an existing issue for this?
Description
I am trying to add MudBlazor to Blazor Web App and I use this tutorial - https://github.com/yellow-dragon-cloud/AbpMudBlazor
When I add basic theme to the Blazor Web App application fails to launch with following error message:
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.AspNetCore.Components.Web.BasicTheme, Version=8.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.Abp.AspNetCore.Components.Web.BasicTheme, Version=8.2.0.0, Culture=neutral, PublicKeyToken=null'
Reproduction Steps
You can reproduce this error if you complete second step - https://github.com/yellow-dragon-cloud/AbpMudBlazor?tab=readme-ov-file#2-add-packages-to-your-solution
Expected behavior
When you complete all this steps(https://github.com/yellow-dragon-cloud/AbpMudBlazor?tab=readme-ov-file#what-is-mudblazor) your application should run and you will see something like this:
![image](https://private-user-images.githubusercontent.com/37025308/342895804-51a81d35-60dd-47f9-a7dc-83b69f88775b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5Nzc4MTcsIm5iZiI6MTcxOTk3NzUxNywicGF0aCI6Ii8zNzAyNTMwOC8zNDI4OTU4MDQtNTFhODFkMzUtNjBkZC00N2Y5LWE3ZGMtODNiNjlmODg3NzViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAzMzE1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE4ZmQ5YjZjZmQzNWI4ZWUzMDI2NDJkYjgwY2Y3NTY5NDEyMmFjYTg2MzQzOWU1M2EzMjMyNjI5ODJjNDJjMDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3ehhBE-bdJcAfoy8Sh4y5LJu7k9-8pFtXH-icBjQbL8)
Actual behavior
I get this error:
![image](https://private-user-images.githubusercontent.com/37025308/342896120-7980d1f0-9bc0-48fa-9612-fe96ba868c72.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5Nzc4MTcsIm5iZiI6MTcxOTk3NzUxNywicGF0aCI6Ii8zNzAyNTMwOC8zNDI4OTYxMjAtNzk4MGQxZjAtOWJjMC00OGZhLTk2MTItZmU5NmJhODY4YzcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDAzMzE1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljYzk0NTE4YTlhNTdhOTUyZWEwNzFmZTZjMTRhOTZjYTNlZjBkY2IxNGIzZTg3MGZiOTE4ODBiMDgyOGNjYmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6P7LTRQpdlU0aGR5pL_VXpor_PZPqO5czfhXWY2e3og)
Regression?
You can add MudBlazor on the latest stable V8.1
Known Workarounds
No response
Version
8.2.0-rc.5
User Interface
Blazor
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: