@jkrause if you are trying use ABP v5.0 stable on a ABP v5.0 (RC) version it'll not work as expected. Suite and your ABP version must be the same.
closing the issue since 21 days past over it. you can reopen it if you have an ongoing problem about this.
5.0.0 stable release has been released. the team is packing the source-code. I'll send you asap.
To be able to download the source code of this package, see https://support.abp.io/QA/Questions/2256/Commercial-source-code-to-angular-package#answer-04114519-785d-680f-ca0a-3a011877e4c2
- ABP Framework version: v5.0.0-rc2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace: no
- Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) autocomplete item.DisplayName null exception on edit modal"
- looks like something else is changed in Blazorise
We'll check this
@jkrause For this problem
Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!
you need to remove your Suite and re-install
abp suite remove && abp suite install --preview
@trungbq check your inbox, it's sent to your email address.
hi mostafa,
our team sent you the source-code of @volo/abp.commercial.ng.ui to your email mostafa_ibrahem22@hotmail.com. check your inbox/spam/junk folders.
ABP Suite still generates faulty code for Blazor Server, I guess one of the templates are wrong. If it is possible to change this even before the release of 5.0, please tell as it breaks migrations etc currently from ABP Suite 5.0 RC 1.
For created and update, await is missing, like
private async Task CreateCompanyTypeAsync() { try { if (NewCompanyTypeValidations?.ValidateAll() == false) { return; } await CompanyTypesAppService.CreateAsync(NewCompanyType); await GetCompanyTypesAsync(); CreateCompanyTypeModal.Hide(); } catch (Exception ex) { await HandleErrorAsync(ex); } }
Should be if (await (NewCompanyTypeValidations?.ValidateAll()) == false) to compile.
Can we change a template or something to make this work until fixed?
Edit:
Seems like it is this template that needs to be modified as above Frontend.Blazor.Page.Item.razor_cs.txt
this has been fixed in upcoming rc2 the reason, blazorise changed some of their API methods to async.
C:\Users\XXXX> abp suite install
[13:08:29 INF] ABP CLI (https://abp.io)
[13:08:29 INF] Version 5.0.0-rc.1 (Prerelease)
[13:08:29 INF] Installing ABP Suite latest version...
Failed to create shell shim for tool 'volo.abp.suite': Command 'abp-suite' conflicts with an existing command from another tool.
Tool 'volo.abp.suite' failed to install.
[13:08:33 INF] You can also run the following command to install ABP Suite.
[13:08:33 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.jsonThis seem to be related to the previous "abp suite uninstall" command not working properly and leaving files behind. See https://support.abp.io/QA/Questions/587/ABP-Suite-Issues
this is somehow related to donet tool commands because abp suite remove uses dotnet tool uninstall command. it sometimes leave files behind if some files of the tool is being used at that time. in that case I suggest to delete the following Suite folder from your computer.
You need to replace X.X.X
with your Suite version
%UserProfile%\.dotnet\tools\.store\volo.abp.suite