Open Closed

Cannot find "Volo.Abp.Commercial.SuiteTemplates.dll". #2760


User avatar
0
mukremin created

When I try to make any changes on the project like CRUD or changing template I got error message as below.

Cannot find "Volo.Abp.Commercial.SuiteTemplates.dll". ABP Suite cannot find it in any sub folders of C:\Users\USER\Downloads\IsteBurada\src\IsteBurada.Web

Could you please help us on that?


8 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @mukremin, what is the ABP version of your application?

  • User Avatar
    0
    mukremin created

    Hi Engin It is 5.1.4

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Thanks for the information, I'll test and write you back asap.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @mukremin, I've created an application with v5.1.4 and successfully generate CRUD pages so i could not reproduce your problem.

    Can you check does your *.domain project has a reference to the Volo.Abp.Commercial.SuiteTemplates package?

    If not, please add and rebuild your project. You can follow the below steps:

    • Add the following line to your *.Domain.csproj,
    <ItemGroup>
        <PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="5.1.4" />
    </ItemGroup>
    
    • Then add the following line to your *DomainModule class:
    using Volo.Abp.Commercial.SuiteTemplates;
    
    [DependsOn(
        //... other modules ...
        typeof(VoloAbpCommercialSuiteTemplatesModule), //add this line
        )]
    public class MyAppDomainModule : AbpModule
    {
    }
    

    Rebuild your application and try to generate CRUD pages, it should work.

  • User Avatar
    0
    mukremin created

    Hi Engin Despite the fact that I have done below steps I have receved below error. I have also write licencee code into appsetting.jjson and also secret appsetting file. Problem is not solved.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Please check the appsettings.secrets.json file is exists in the directory of your web project and the file has a section named AbpLicenseCode:

    • appsettings.secrets.json (it should be in your web project directory)
    {
      "AbpLicenseCode": "<your-license-code>" 
    }
    
    • Open your Program.cs file and check the .AddAppSettingsSecretsJson() is used in the main method:
    public class Program
    {
        public async static Task<int> Main(string[] args)
        {
            //logging configurations ...
            
            try
            {
                Log.Information("Starting web host.");
                var builder = WebApplication.CreateBuilder(args);
                builder.Host
                    .AddAppSettingsSecretsJson() //ensure this line is exist
                    .UseAutofac()
                    .UseSerilog();
                
                //...                
            }
            
            //...
        }
    }
    
  • User Avatar
    0
    mukremin created

    Hi Ercan; This is something veird. I get error at each steps. I decided to use that framework to shorten development time but it makes longer. I have exactly followed the tutorial video but get error always. Please see below error that I have received lastly.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    It seems your project on localhost:44393 is not running therefore it could not send any HTTP request. Please ensure the project on localhost:44393 is running and try again.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11