Open Closed

samples on abp website require a lot of update and are old versions #10788


User avatar
0
Farah created

Hi,

I am downloading the samples from abp website https://abp.io/docs/latest/samples/easy-crm . And these samples are either built of old versions and keep giving compilation errors. see screenshot for

Can you help me resolve these errors please. we are new to abp and switching over from devexpress.

thank you,

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

12 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • The Easy CRM sample is an ABP Commercial sample and it references commercial/pro NuGet packages (e.g., Volo.Saas.*, Volo.Abp.*.Pro.*, Volo.Abp.LeptonXTheme.*). Those packages are not on nuget.org, so if your machine can only restore from nuget.org (or you have an incorrect/blocked ABP commercial feed), you’ll see exactly the errors in your screenshot: NU1101 Unable to find package Volo.Saas.Domain.Shared / Volo.Saas.EntityFrameworkCore / ....
    • So this is typically not a “sample is old” issue; it’s almost always NuGet source configuration / access.

    Fix (step-by-step)

    1. Make sure you are logged in to ABP CLI (commercial feed authentication)
    abp login
    

    Login with the same account that has the commercial license.

    1. Verify NuGet has the ABP commercial source enabled (and reachable)

      • In Visual Studio: Tools → NuGet Package Manager → Package Manager Settings → Package Sources
      • Ensure the ABP Commercial source exists and is checked.
      • If you are behind a corporate proxy, make sure the feed URL is accessible from your network.
    2. Ensure the solution’s NuGet.Config is present and used

      • The Easy CRM zip should include a NuGet.Config (or you should have the ABP commercial source in your global/user NuGet config).
      • After confirming sources, run restore from the solution folder:
    dotnet restore
    
    1. Clean local caches and retry restore (helps when you fixed sources but VS still uses stale state)
    dotnet nuget locals all --clear
       dotnet restore
    
    1. Do not use “offline packages” / custom sources that shadow nuget.org

      • Your screenshot shows sources like “Microsoft Visual Studio Offline Packages” and other custom feeds. Those are fine, but if your environment prioritizes them and blocks external feeds, restore will fail.
      • Keep nuget.org enabled and ensure the ABP commercial feed is enabled/authenticated.
    2. If you don’t have an ABP Commercial license, you won’t be able to restore/build Easy CRM (because it depends on commercial modules). In that case, use the free templates/samples instead, or obtain a license.

    Links (validated)

    • Easy CRM sample page: https://abp.io/docs/latest/samples/easy-crm
    • For licensing/access issues: https://abp.io/contact

    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,

    This is almost certainly a NuGet source issue, not an outdated sample. The Pro packages (Volo.Saas.*, Volo.Abp.*.Pro.*, Volo.Abp.LeptonXTheme.*) come only from your private ABP feed (nuget.abp.io), not from nuget.org. When you download Easy CRM, that feed is added automatically into the solution's NuGet.Config with your API key.

    Could you check two things so we can pinpoint it:

    1. Open aspnet-core/NuGet.Config (it sits next to Volo.EasyCrm.sln) and confirm there's a line like:
    <add key="ABP Commercial NuGet Source" value="https://nuget.abp.io/<a-guid>/v3/index.json" />
    

    If that line is there, your private feed is already configured for this solution.

    1. Build from the command line, from the aspnet-core folder:
    cd aspnet-core
    dotnet build
    

    If the CLI build works but Visual Studio still shows the errors, then it's Visual Studio not picking up the solution's NuGet.Config (a VS-side issue), not a problem with the sample. Let us know how these two go and we'll take it from there.

    Thanks

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

    Hi, I have Update the Nuget.config file as per your suggestion and build via command line, but still there is error. I am using Visual Studio 2026 and .net 10 core . please Check the file attached and screenshot. the project we are creating From Studio is working Fine with same visual studio.

    Error.txt

    Deleted

    please Check the issue .

    Thanks

    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

    Can you try to remove packageSourceMapping from the NuGet.Config file and run dotnet build again?

    Thanks.,

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

    Hi, i changed this and Error got fixed but vulnerability is there but build has error too please see the screeshot.

    Please guide me to resolve these issue as well to run and check the sample.

    Thanks

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

    By mistake question get closed , i am reopening this.

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

    Well i also clear the Nuget warning from solution now still getting this error in several razor pages.

    Please let me know how can i fix these issue now.

    Thanks

    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

    Can you share the project with liming.ma@volosoft.com?

    I will check and fix it.

    Thanks.

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

    Hi, Because of size issue i have uploaded the project to shared folder and link sent you via email to liming.ma@volosoft.com

    Thanks

    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,

    Got your project, fixed it, and it builds and runs now (all the CRM pages work). I've emailed the fixed solution back to you.

    The sample itself isn't outdated - it targets ABP 10.0.1 and builds fine on that version. The errors came from upgrading it to 10.5.0, which needs a few changes beyond bumping the package versions:

    1. Blazor UI migration to Blazorise 2.0. ABP 10.5 uses Blazorise 2.x, which renamed the input components and changed some APIs (TextEdit -> TextInput, @bind-Text -> @bind-Value, DataGrid context -> context.Item, Centered moves from ModalContent to Modal, etc.). The generated CRUD pages were written for Blazorise 1.x, so they need updating. Full guide here: https://abp.io/docs/latest/release-info/migration-guides/blazorise-2-0-migration

    2. Some extra packages (Serilog.AspNetCore, Scriban, SQLitePCLRaw.lib.e_sqlite3, Microsoft.OpenApi, AutoMapper) had been added to every project, including the Blazor WebAssembly client. Serilog.AspNetCore pulls in the ASP.NET Core framework reference, which isn't valid for a WASM client and breaks its build. I removed them from the projects that don't need them (they're already transitive dependencies where they're actually used).

    3. Add an EF Core migration for the 10.5 schema changes (new columns like LastSignInTime on AbpUsers), otherwise the database seeding fails on first run.

    One more thing I changed so the list pages load: the filter DTOs (GetProductsInput, GetOrdersInput, etc.) had non-nullable string properties. With nullable reference types enabled, those are treated as implicitly required, so the list requests failed validation. I made the filter fields nullable (string?), since a filter is optional by nature.

    The zip has the build output stripped (no bin/obj/node_modules), so just restore, build and run it - it creates and seeds the database on first run. Default login is admin / 123456.

    If you just want to evaluate the sample, running it on 10.0.1 as downloaded is the simplest path. If you want to stay on 10.5, use the fixed project I emailed you.

    Thanks

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

    Its Running at my end to now. will get back to you if there is any issue.

    Thanks

    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

    I'll also upgrade the samples to version 10.5.0 soon.

    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.