Open Closed

Create a project with specific version from ABP Studio #10197


User avatar
0
enes.koroglu created

Regarding to ABP Studio and ABP Startup Template Version Mappings (https://abp.io/docs/latest/studio/version-mapping), I am trying to install ABP Studio 1.4.2 to create a project with ABP version 9.3.6.

I am trying to execute ps script which @liangshiwei shared in https://abp.io/support/questions/8627/Install-specific-version-of-ABP-Studio#answer-3a17775e-701a-1b24-6604-8bc0622ac518

Script getting below error in script while downloading https://abp.io/api/abp-studio/download/r/windows/abp-studio-1.4.2-beta-full.nupkg When i try to download this file I am also getting Blob error 404

How can I create a project in version 9.3.6 via ABP Studio


6 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • ABP Studio 1.4.2 is the correct Studio version to generate solutions with ABP 9.3.6 (per the official mapping).

    • The 404 happens because the package name you’re trying to download is wrong. Studio 1.4.2 is a stable release, not beta. Use the stable “release” channel package name:

      • File name pattern: abp-studio-{version}-release-full.nupkg
      • Correct URL for 1.4.2 (Windows): https://abp.io/api/abp-studio/download/r/windows/abp-studio-1.4.2-release-full.nupkg
    • Quick fix for the script:

      • In the switch-abp-studio-version.ps1 you used, replace the channel segment from beta to release.
      • Minimal working script (Windows PowerShell):
    param (
          [string]$version = "1.4.2",
          [string]$channel = "release"
      )
      $installdir = "$env:LOCALAPPDATA\abp-studio\"
      Write-Host "Installing to $installdir"
    
      $file = "abp-studio-$version-$channel-full.nupkg"
      $url = "https://abp.io/api/abp-studio/download/r/windows/$file"
      $outputPath = "$installdir\packages\$file"
    
      if (-not (Test-Path $installdir)) { New-Item -ItemType Directory -Path $installdir -Force | Out-Null }
      if (-not (Test-Path "$installdir\packages")) { New-Item -ItemType Directory -Path "$installdir\packages" -Force | Out-Null }
    
      if (Test-Path $outputPath) {
          Write-Host "File $file already exists. Skipping download."
      } else {
          Write-Host "Downloading $url to $outputPath"
          Invoke-WebRequest -Uri $url -OutFile $outputPath
      }
    
      $updateExe = "$installdir\Update.exe"
      Write-Host "Running $updateExe apply --package $outputPath"
      & $updateExe apply --package $outputPath
    
      Write-Host "ABP Studio version $version ($channel) installed successfully."
    
    • After installation:

      1. Start ABP Studio 1.4.2.
      2. Create a new solution (Angular UI, Tiered, PostgreSQL as you need). The generated solution will target ABP 9.3.6 automatically because 1.4.2 maps to 9.3.6.
      3. If needed, you can later update the created solution using ABP Studio or ABP CLI, but for your case you want to stay on 9.3.6.
    • Alternative (without Studio UI): You can also use ABP Studio CLI of that version to create the project in a CI/terminal environment. Ensure the Studio CLI version aligns with 1.4.2 (bundled with Studio), then run abp new with your template options. However, using the Studio UI 1.4.2 is simpler since it already binds to 9.3.6.

    1. Sources
    • ABP Studio and ABP Startup Template Version Mappings:
      • https://abp.io/docs/latest/studio/version-mapping
    • Community QA: Install specific version of ABP Studio (includes the version switch script and usage):
      • https://abp.io/support/questions/8627/Install-specific-version-of-ABP-Studio#answer-3a17775e-701a-1b24-6604-8bc0622ac518

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    enes.koroglu created

    The link you provided or your script modification generates https://abp.io/api/abp-studio/download/r/windows/abp-studio-1.4.2-release-full.nupkg is also getting same error: Blob error 404

  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • The “Blob error 404” means that the package for that exact path does not exist on the download feed. For ABP Studio 1.4.2, both beta and release “full.nupkg” endpoints you tried are currently not available on the public feed, so direct downloading via the old script will fail.
    • Use one of the following verified approaches to create a project with ABP 9.3.6:

    A) Use the official Version Mapping inside ABP Studio (recommended)

    • Install and open ABP Studio (any working version you have).
    • New Solution wizard automatically selects the template version based on the Studio version you are running (per the mapping).
    • To target ABP 9.3.6, you need ABP Studio 1.4.2. Since the public URL package is not available, switch to a Studio version whose package exists on the feed and that maps to the same (or desired) ABP version using the Studio’s built-in update mechanism:
      • In Studio: Help -> Check for Updates, and choose a version that maps to your target ABP version per the version mapping page.
      • If 1.4.2 is not offered, pick the nearest Studio version that maps to ABP 9.3.x. Then create the solution and, if needed, downgrade/lock template packages via ABP Studio CLI or NuGet after creation to 9.3.6 (template-generated solutions can be pinned by setting the Volo.Abp.* package versions in Directory.Packages.props).

    B) Use the supported “switch version” script pattern but only with existing packages

    • The previously shared PowerShell script works only if the targeted nupkg actually exists.
    • First, check if the package exists before download. Example script (adds existence check and fails clearly):
    param (
      [string]$version = "1.4.2",
      [string]$channel = "release"
    )
    
    $installdir = "$env:LOCALAPPDATA\abp-studio\"
    $file = "abp-studio-$version-$channel-full.nupkg"
    $url = "https://abp.io/api/abp-studio/r/download/windows/$file"  # note the '/r/download/windows' path used by the official updater logs
    $pkgDir = "$installdir\packages"
    $outputPath = Join-Path $pkgDir $file
    
    Write-Host "Installing to $installdir"
    if (-not (Test-Path $pkgDir)) { New-Item -ItemType Directory -Path $pkgDir -Force | Out-Null }
    
    try {
      $resp = Invoke-WebRequest -Uri $url -Method Head -UseBasicParsing -ErrorAction Stop
    } catch {
      Write-Error "Package not found on feed: $url. Please choose another Studio version present on the feed."
      exit 1
    }
    
    if (-not (Test-Path $outputPath)) {
      Write-Host "Downloading $url to $outputPath"
      Invoke-WebRequest -Uri $url -OutFile $outputPath -UseBasicParsing
    } else {
      Write-Host "File already present: $outputPath"
    }
    
    $updateExe = Join-Path $installdir "Update.exe"
    Write-Host "Applying package..."
    & $updateExe apply --package $outputPath
    Write-Host "Done."
    
    • Important differences:
      • Uses /api/abp-studio/r/download/windows (the path used by the built-in updater) rather than /download/r/windows.
      • Performs a HEAD check before download and stops if the package doesn’t exist.
    • If 1.4.2 is still missing, select a Studio version close to 1.4.2 that is available on the feed and maps to ABP 9.3.x, create the solution, and pin packages to 9.3.6 after creation.

    C) Use ABP Studio CLI aligned to 9.3.6

    • If Studio’s package is not available but you only need to generate the template, install the corresponding ABP Studio CLI version that maps to ABP 9.3.6 and generate the solution from the terminal. Then open the generated solution in your current Studio.
    • If Studio updates your CLI automatically, disable auto-update and/or install the CLI separately under a custom tool path, then call it directly to keep the version pinned.

    Notes

    • Given the public feed currently returns 404 for abp-studio-1.4.2-{beta|release}-full.nupkg, the direct link approach won’t work until that package is published again. The supported way is to pick a Studio version that exists on the feed and maps to the desired ABP version, or generate with a matching CLI and pin package versions to 9.3.6.
    1. Sources
    • Version mapping between ABP Studio and ABP template versions:
      • https://abp.io/docs/latest/studio/version-mapping
    • Community Q&A showing the version-switch script pattern:
      • https://abp.io/support/questions/8627/Install-specific-version-of-ABP-Studio#answer-3a17775e-701a-1b24-6604-8bc0622ac518

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    enes.koroglu created

    Now getting below error:

    Package not found on feed: https://abp.io/a
    pi/abp-studio/r/download/windows/abp-studio-1.4.2-release-full.nupkg. Please choose another Studio version present on t
    he feed.
    At line:1 char:1
    + .\switch-abp-studio-version.ps1
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,switch-abp-studio-version.ps1
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    How can I create a project in version 9.3.6 via ABP Studio

    I will ask the team for the old version of Studio.

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you download from: https://abp.io/api/abp-studio/download/r/windows/abp-studio-1.4.2-stable-full.nupkg

    Thanks.

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 December 10, 2025, 12:02
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.