Starts in:
0 DAY
22 HRS
17 MIN
12 SEC
Starts in:
0 D
22 H
17 M
12 S

Activities of "yekalkan"

So If I'm creating a module which can be used across all types of project(angular MVC etc) I would add a migration to each type of host?

True.

Can you try deleting the folder <projectname>.Blazor/obj/release/net6.0/PubTmp/Out/wwwroot/_content/Volo.Abp.AspNetCore.Components.Web and then removing & adding the project in suite?

I think it will work that time. But i am not sure if the error will occure again after you build the solution. Is this folder auto generated?

Answer

Hi @sukhdeep.dhillon,

If you use --with-public-website option, cms-kit will be installed in the created project. Example:

abp new Acme.BookStore --with-public-website

if I want to add it manually, how do I know in which project should I add which package.

You can create a project with that option, then check the references and manually add.

Hi @improwise,

Thanks for the suggestion.

We are putting extra effort to make the generated code follow our best practices document. That is why we are separating the dto's.

I'll create an internall issue for your request, and the team will consider this option. But i don't think it will be done in near future.

Hi @darutter,

Have you tried removing the project from suite and add it again?

Hi @chris.tune,

You can add the new migrations to *HttpApi.Host project if you want to develop Angular UI.

@andreking I guess you somehow made the tests dependent on another commercial package. That is the reason you are getting -42 exit code.

Here is the solution:

  • Create appsettings.json & appsettings.secrets.json files under test\Volo.Abp.LanguageManagement.TestBase\Volo\Abp\LanguageManagement folder.

appsettings.json content:

{

}

appsettings.secrets.json content:

{
  "AbpLicenseCode": "Your Abp License Code"
}

(You can find your license code in the main solution. Just copy from there.)

  • Add the following configuration to test\Volo.Abp.LanguageManagement.TestBase\Volo.Abp.LanguageManagement.TestBase.csproj file:
  <ItemGroup>
    <None Remove="Volo/Abp/LanguageManagement/appsettings.json" />
    <Content Include="Volo/Abp/LanguageManagement/appsettings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <ExcludeFromSingleFile>true</ExcludeFromSingleFile>
      <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
    </Content>
    <None Remove="Volo/Abp/LanguageManagement/appsettings.secrets.json" />
    <Content Include="Volo/Abp/LanguageManagement/appsettings.secrets.json">
      <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  • Add the following configuration to ConfigureServices method in test\Volo.Abp.LanguageManagement.TestBase\Volo\Abp\LanguageManagement\LanguageManagementTestBaseModule.cs file:
        var builder = new ConfigurationBuilder();
        builder.AddJsonFile("Volo/Abp/LanguageManagement/appsettings.json", false);
        builder.AddJsonFile("Volo/Abp/LanguageManagement/appsettings.secrets.json", true);
        context.Services.ReplaceConfiguration(builder.Build());

(you may need to add Microsoft.Extensions.Configuration namespace)

Refunded.

Hi,

To reproduce the issue; i created a microservice solution, and added SaasService to AbpSuite. Then tried to generate CRUD page, but encountered several errors. I don't know what you have done to make it work with Suite. I said in the first reply, Suite doesn't support this officially. So we can't help you with that.

Also, can you try removing the project from suite, and add it again?

Showing 141 to 150 of 369 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06