Open Closed

error updating abp package #10644


User avatar
0
mohmmd.khalaf@gmail.com created

Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'C:\Users\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\2.2.7\lib\net10.0\Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Cli.dll'. The system cannot find the file specified. File name: 'C:\Users\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\2.2.7\lib\net10.0\Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Cli.dll' at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath) at Volo.Abp.Modularity.PlugIns.FilePlugInSource.GetModules() at Volo.Abp.Modularity.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource, ILogger logger) at Volo.Abp.Modularity.PlugIns.PlugInSourceList.<>c__DisplayClass0_0.W2hQPIg6Xi(IPlugInSource pluginSource) at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other) at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer) at System.Linq.Enumerable.DistinctIterator1.ToArray() at Volo.Abp.Modularity.PlugIns.PlugInSourceList.GetAllModules(ILogger logger) at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.UQiLDyko2Z(IServiceCollection , Type , PlugInSourceList ) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithInternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithInternalServiceProvider..ctor(Type startupModuleType, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](Action`1 optionsAction) at Volo.Abp.Studio.Cli.Program.y5vgsTNNn(Object ) at Volo.Abp.Studio.Cli.Program.

(String[] args)

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • This error is coming from ABP Studio CLI while loading its template/extension plugin from your local NuGet cache. The cache contains an incomplete/corrupted package folder, so the CLI tries to load a DLL that doesn’t exist on disk.
    1. Close ABP Studio / any terminal sessions running abp.
    2. Clear NuGet caches:
    dotnet nuget locals all --clear
    
    1. Run any ABP Studio CLI command again (or open ABP Studio). It will re-download the required extension packages:
    abp --version
    

    (or the command you were running previously)

    1. If it still fails, additionally delete the specific broken package folder and retry:
      • Delete: C:\Users\<you>\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\2.2.7\
      • Then run:
    dotnet nuget locals all --clear
         abp --version
    

    Sources:

    • https://abp.io/support/questions/9131
    • https://abp.io/docs/latest/cli/index

    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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    The Studio CLI is trying to load Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Cli.dll from your NuGet cache, but that file is not present on disk. The package folder exists (so Studio assumes the package is "downloaded") but the DLL inside it is missing — usually caused by an interrupted NuGet restore, antivirus / EDR quarantine, missing .NET 10 SDK, or a stale 2.2.7 folder left over from an earlier upgrade.

    Please try the following in order:

    1) Make sure .NET 10 SDK is installed

    The extension is built for net10.0. Run:

    dotnet --list-sdks
    dotnet --list-runtimes
    

    You should see 10.0.x in both lists. If not, install .NET 10 from https://dotnet.microsoft.com/download/dotnet/10.0 first, then continue.

    2) Delete the broken extension folder and let Studio re-download it

    Close ABP Studio (UI and any open terminals running abp), then delete the whole folder for that extension:

    Remove-Item -Recurse -Force "$env:USERPROFILE\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates"
    

    Open ABP Studio UI again. It will re-download the extension automatically. After it finishes, verify both DLLs are present:

    dir "$env:USERPROFILE\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\2.2.7\lib\net10.0\"
    

    You should see at least:

    • Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Core.dll
    • Volo.Abp.Studio.Extensions.StandardSolutionTemplates.Cli.dll

    Then run your original command (e.g. abp update) again.

    3) Check the NuGet path environment variables

    Your stack trace shows C:\Users\\.nuget\... with no username between Users and .nuget. That is most likely just how the exception text is rendered, but please confirm:

    echo $env:USERPROFILE
    echo $env:NUGET_PACKAGES
    

    USERPROFILE should point to your home folder (e.g. C:\Users\yourname). NUGET_PACKAGES is normally empty — if you have it set to a custom path, make sure that path is correct and writable.

    4) If you're on a corporate / managed machine

    Some EDR or antivirus products quarantine DLLs from .nuget\packages. If steps 1–3 don't help, ask IT to allow-list the .nuget\packages folder, then redo step 2.

    If the problem persists after the steps above, please share:

    • Output of dotnet --list-sdks and dotnet --list-runtimes
    • Output of dir "$env:USERPROFILE\.nuget\packages\volo.abp.studio.extensions.standardsolutiontemplates\2.2.7\lib\net10.0\"
    • The exact command you were running when the error appeared
    • Your abp --version output

    We'll also improve ABP Studio CLI in a future release to detect missing extension DLLs and re-download them automatically instead of crashing.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.