Activities of "jfistelmann"

Hi,

I apologize if I misunderstood your case, can you please elaborate in detail on what you expect?

regards,

I thought I did that in my question. Can you please tell me which part is unclear, so I can explain it better?

thanks for your efforts

Hi,

You may use command to install abp cli, mention your version

dotnet tool install -g volo.abp.cli --version 8.2.2 

thanks

how does that correspond to the issue?

Hello :) We are experiencing an issue using abp bundle on the new cli.

  • ABP Framework version: v8.2.2
  • UI Type: Blazor WASM

first I updated the cli - or better - replaced it by the new thing:

 repos  dotnet tool install -g Volo.Abp.Studio.Cli
Tool 'volo.abp.studio.cli' failed to update due to the following:
Failed to create shell shim for tool 'volo.abp.studio.cli': Command 'abp' conflicts with an existing command from another tool.
Tool 'volo.abp.studio.cli' failed to install.
 repos  ^C
 repos  dotnet tool uninstall -g Volo.Abp.Cli
Tool 'volo.abp.cli' (version '8.2.0') was successfully uninstalled.
 repos  dotnet tool install -g Volo.Abp.Studio.Cli
You can invoke the tool using the following command: abp
Tool 'volo.abp.studio.cli' (version '0.7.8') was successfully installed.
 repos  abp suite update
[12:43:55 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.7.8 (Beta)
🧩 Extensions downloaded: Volo.Abp.Studio.Extensions.StandardSolutionTemplates
🚲 The CLI is restarting to apply the changes with arguments: suite update
 JackFistelmann   repos    [12:44:05 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
[12:44:06 INF] Updating ABP Suite ...
Tool 'volo.abp.suite' was successfully updated from version '8.2.0' to version '8.2.2'.

using abp bundle:

abp bundle
[12:45:13 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
System.NullReferenceException: Object reference not set to an instance of an object.
  at async Task<string> Volo.Abp.Studio.Modifying.CsprojFileManager.GetAbpVersionAsync(string filePath)
  at async Task<string> Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.yClRDND67t(string  )
  at async Task Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.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)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Volo.Abp.Studio.Modifying.CsprojFileManager.GetAbpVersionAsync(String filePath)
   at Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.yClRDND67t(String  )
   at Volo.Abp.Studio.Cli.Commands.StudioBundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
   at Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)
   at Volo.Abp.Studio.Cli.StudioCliService.RunAsync(String[] args)
   at Volo.Abp.Studio.Cli.Program.x2J81t685(Object  )
   at Volo.Abp.Studio.Cli.Program.<Main>(String[] args)

I expect the issue to be that we are using central package management as well as a variable for the version:

running abp help bundle

[12:46:13 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
[12:46:13 INF]
Usage:

  abp bundle [options]

Options:

-wd|--working-directory <directory-path>                (default: empty)
-f | --force                                            (default: false)
-t | --project-type                                     (default: webassembly)

See the documentation for more info: https://abp.io/docs/latest/cli

we would need to get a parameter to pass our version or a fix or a workaround please.

as a workaround I uninstalled the new cli - and things do not die anymore:

 repos  dotnet tool uninstall -g Volo.Abp.Studio.Cli
Tool 'volo.abp.studio.cli' (version '0.7.8') was successfully uninstalled.
 repos  dotnet tool install -g Volo.Abp.Cli
You can invoke the tool using the following command: abp
Tool 'volo.abp.cli' (version '8.2.2') was successfully installed.
 repos  cd .\cb\dev\dth-cantor-administration\
 dth-cantor-administration  cd .\src\Dth.CantorAdministration.Blazor.Client\
 Dth.CantorAdministration.Blazor.Client  abp bundle
ABP CLI 8.2.2
Generating style bundle...
Style bundle has been generated successfully.
Generating script bundle...
Script bundle has been generated successfully.
 JackFistelmann   Dth.CantorAdministration.Blazor.Client    3429-portatours ≡  ~3     

did you run abp install-libs? did you also check for leptonx updates while upgrading?

and no, you do not need to purchase a blazorise commercial license.

may it be that you deployed a debug build and not a release build? As far as I know, license checks like this are not performed when running a published application 🤔

Hey, does the dev console (F12) output some errors?

Hey,

  1. For this you typically use logging. Here's some inspiration https://community.abp.io/posts/performance-optimization-of-.netbased-and-also-abpbased-application-pmdwhwxc https://akashjwork.medium.com/asp-net-core-7-api-performance-report-logging-mastery-with-serilog-6f490ac2ba2f
  2. Here's how to do that. https://stackoverflow.com/a/63603655 Depending on your DBMS you may get information from that on lock scenarios and performance issues

kind regards Jack

Hey,

do there resources help you?

https://community.abp.io/posts/file-uploaddownload-with-blob-storage-system-in-asp.net-core-abp-framework-d01cbe12

https://community.abp.io/posts/how-to-upload-and-download-files-in-the-abp-framework-using-angular-que8cdr8

kind regards Jack

i meant something like this here;

https://github.com/serilog-mssql/serilog-sinks-mssqlserver

does that work for you?

why don't you configure a serilog sink to db? and just call Logger.LogError or something?

Showing 1 to 10 of 155 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35