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)
-
0
Hi @mukremin, what is the ABP version of your application?
-
0
Hi Engin It is 5.1.4
-
0
Thanks for the information, I'll test and write you back asap.
-
0
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.
- Add the following line to your
-
0
-
0
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(); //... } //... } }
-
0
-
0
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.