Starts in:
1 DAY
8 HRS
8 MIN
20 SEC
Starts in:
1 D
8 H
8 M
20 S

Activities of "Frontis1"

It exists as a column:

But it does not contains any values:

So now i re-saved all the applications and now they are filled AND the error is gone:

👍

So for now we have a workarround!

To the main project

Hi Alper,

Thanks for your quick response.

abp add-module ProductManagement --new --solution C:\YourSolutionPath --add-to-solution-file

Is not adding the pro version of the module template (https://docs.abp.io/en/abp/latest/Startup-Templates/Module). For instance, I am missing the host folder:

I just noticed that the ABP suite is not using the pro version as well when you use the "Create new module" button:

That's why I used:

abp new CustomerX.APIY -t module-pro --preview --create-solution-folder --output-folder p:\development\CustomerX\modules --no-ui

because this command WILL add the host folder! But, as far as i know, there is no way to add it to an existing solution?

But nevertheless i still feel that the ABP suite is containing a bug for solutions which have modules in them, because "save and generate" keeps failing when i create a new entity in the suite. And that is the reason we bought the license.

Just perform these simple steps and you will see:

  1. run: abp new CustomerX -t app-pro --create-solution-folder --preview --output-folder p:\development\
  2. run: abp new CustomerX.APIY -t module-pro --preview --create-solution-folder --output-folder p:\development\CustomerX\modules --no-ui
  3. Run the DBMigrator so the database get's created and seeded.
  4. Start the abp suite en open the solution in the abp suite.
  5. Add a new entity and press "Save and generate"
  6. Notice that an error occurs

Hi Alper,

Thanks for your response. This works indeed.

But what would be the equivalent CLI command?? We would rather add modules via the CLI so we can easily automate our solution-creation.

I also noticed that when we do the following:

  1. run: abp new CustomerX -t app-pro --create-solution-folder --preview --output-folder p:\development\
  2. run: abp add-module CustomerX.ApiY --new --add-to-solution-file
  3. Run the DBMigrator so the database get's created and seeded.
  4. Start the abp suite en open the solution in the abp suite.
  5. Add a new entity and press "Save and generate"

everything works as well!

But in step 2 we use the add-module and this will not add the pro-module unfortunately. Is there a add-module cli command that will add the pro version?

Sorry, have to reopen this. I did some testing this morning and the error did not occur so i thought it was a fault on my side but i just got the error again and pinpointed the issue.

To reproduce:

  1. run: abp new CustomerX -t app-pro --create-solution-folder --preview --output-folder p:\development\
  2. run: abp new CustomerX.APIY -t module-pro --preview --create-solution-folder --output-folder p:\development\CustomerX\modules --no-ui
  3. Run the DBMigrator so the database get's created and seeded.
  4. Start the abp suite en open the solution in the abp suite.
  5. Add a new entity and press "Save and generate"

Notice that an error occurs:

"Unable to retrieve project metadata. Ensure it's an SDK-style project. If you're using a custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option."

To fix this you can do the following:

Open the abp suite and open the solution BEFORE adding the module OR move the "modules" folder temporary and open the solution in the abp suite.

My guess is that the msbuildprojectextensionspath is not getting set correclty when the module is already in the solution folder.

When the error occurs i noticed that the suite has made a OBJ directory in the wrong path:

So there is definitely somthing going wrong with a path.

Cant reproduce this issue anymore myself. Case closed!

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