Activities of "jfistelmann"

Hey,

I'm trying to create a script to automatically download all modules - but for some modules we are just receiving errors :S

param (
    [Parameter(Mandatory=$true)][string]$abpVersion,
    [Parameter(Mandatory=$true)][string]$leptonXVersion
 )

 function downloadModule($name, $version) {
    New-Item -ItemType Directory -Force -Path $name
    abp get-source $name --version $version -o ./$name
}

$modules = abp list-modules

foreach ($module in $modules) {

    if (-Not($module -Match "> ")) {
        continue;
    }

    $moduleName = $module -replace "> ", "";
    Write-Host "Downloading $moduleName..."

    if ($moduleName -Match "LeptonX") {
        downloadModule $moduleName $leptonXVersion
    }
    else {
        downloadModule $moduleName $abpVersion
    }
}

log (reduced):

Directory: C:\repos\abp

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          27.02.2025    17:15                Volo.Abp.Account.Pro
[17:22:37] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:37] Downloading source code of Volo.Abp.Account.Pro (v9.0.5)
[17:22:37] Output folder: C:\repos\abp\Volo.Abp.Account.Pro
[17:22:44 ERR] Downloading source code failed for: Volo.Abp.Account.Pro
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
  at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly)
  at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.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)
d----          27.02.2025    17:15                Volo.Abp.AuditLogging.Pro
[17:22:44] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:44] Downloading source code of Volo.Abp.AuditLogging.Pro (v9.0.5)
[17:22:44] Output folder: C:\repos\abp\Volo.Abp.AuditLogging.Pro
[17:22:51 ERR] Downloading source code failed for: Volo.Abp.AuditLogging.Pro
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
  at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly)
  at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.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)
d----          27.02.2025    17:15                Volo.Abp.Gdpr
[17:22:52] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:22:52] Downloading source code of Volo.Abp.Gdpr (v9.0.5)
[17:22:52] Output folder: C:\repos\abp\Volo.Abp.Gdpr
[17:22:58 ERR] Downloading source code failed for: Volo.Abp.Gdpr
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
  at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly)
  at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.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)
d----          27.02.2025    17:15                Volo.Abp.Identity.Pro
[17:22:59] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli

-----

d----          27.02.2025    17:24                Volo.Abp.Account
[17:24:18] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:24:18] Downloading source code of Volo.Abp.Account (v9.0.5)
[17:24:18] Output folder: C:\repos\abp\Volo.Abp.Account
[17:24:19] Volo.Abp.Account.SourceCode (v: 9.0.5) package downloaded from https://api.nuget.org/v3/index.json and saved to (C:\Users\JackFistelmann\.nuget\packages\)
[17:24:19] 'Volo.Abp.Account' has been successfully downloaded to 'C:\repos\abp\Volo.Abp.Account'
d----          27.02.2025    17:24                Volo.Abp.BackgroundJobs
[17:24:20] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[17:24:20] Downloading source code of Volo.Abp.BackgroundJobs (v9.0.5)
[17:24:20] Output folder: C:\repos\abp\Volo.Abp.BackgroundJobs
[17:24:21] Volo.Abp.BackgroundJobs.SourceCode (v: 9.0.5) package downloaded from https://api.nuget.org/v3/index.json and saved to (C:\Users\JackFistelmann\.nuget\packages\)
[17:24:21] 'Volo.Abp.BackgroundJobs' has been successfully downloaded to 'C:\repos\abp\Volo.Abp.BackgroundJobs'
d----          27.02.2025    17:24                Volo.Abp.BasicTheme

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?

Showing 11 to 20 of 166 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on October 30, 2025, 06:33