Activities of "yekalkan"

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?

To clarify; You and your coworker has exactly the same files (same branch), but Suite doesn't work for him. Am i right?

Error message says: It couldn't find OnModelCreating method in the DbContext file. It is weird if you are using the exactly same files.

Showing 141 to 150 of 368 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30