Error in dependencies

Hello members ,

Need your help here.

I encounter error running the workflow , with error dependencies not in used .
Deleted the dependencies mentioned but still getting error i should get back the dependencies for the workflow.

I’m confused.
The dependencies is not or not .
How can i resolve this issue to enable run my file ?

Hi,

Can you share detailed information, screenshots and/or your project, if possible?

Regards,

@Yee_Fang_Beh,

One quick approach will be as below

  1. Take a back up of project.json file of the project
  2. Close the project from studio if open
  3. Delete the project.json file
  4. Open the project by double clicking on the main.xaml file.
  5. Let the studio rebuild the project.json with required dependencies only.
1 Like

Hi ,
image
image
Here are the screenshot before i delete the Unused dependencies.

image
After deleted the dependencies and run file .

I have try adding the dependencies according to the version mentioned in the description but still not able to get it .

Hi,

Can you try to uncheck ST-USG-010 rule at WorkflowAnalyzer rules in Project settings?

As it seems your organization forces some rules to users, it may be necessary to contact with admin in your organization.

OR as another approach, simply add LogMessage activity (etc.) which is included in System.Activities package to your workflow?

Regards,

1 Like

Thanks .

It works with adding Log message . :grinning_face:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.