Publish to orchestrator fails

Trying to publish my project fail. When I click on the icon, it says:

When I remove the “unused imports” (not without fears, because these “features” are known to break projects), the subsequent publishing attempts make the same alert to show up.

Note that I’m in a “Community Edition” license type (I explained this before), so maybe it has something to do.

Then when it’s my mate who tries to do it, with the proper license (even if it’s expired, we see a “grace period” message until tomorrow), she gets this problem:

imatge

The program runs in her local machine, there’s already a version number in the text input when trying to publish the package, and the package dependencies in her machine are up to date.

@pere

  1. Try to restart the machine
  2. Clear the extra files in the package to reduce the size and check
  3. Rename Project.json and check it creates a new one

cheers

Hi @pere

Check on the below

Regards,

Hi ,

First, close the project and make sure there are no extra files which increase the package size unnecessary. Rename the project name in project.json. Reopen the project and try again.

Hi @pere

Unused Imports option is not working in the community edition.

  • Try to restart the machine
  • Rename Project.json and check it creates a new one.
  • If this doesn’t work for temporary cause create a new project and copy paste the workflows but this wont’ be a best practice solution.

Regards

I was finally able to publish it after removing an unused (not referenced ever in the project) .cs file from a coded workflow test I tried long ago.

Now it’s available on Assistant. And gues what when you try to run it?

Renaming project.json can cause problems because there is important info stored in that file. At least, you’ll have to reinstall the correct dependencies.

@postwick

I agree that is the reason I asked to rename…if there are issues the old file can be used again or as said dependencies can be installed

Cheers

1 Like