Package GetShortcutTarget 1.0.0 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package GetShortcutTarget 1.0.0 supports: net472 (.NETFramework,Version=v4.7.2)

Hi All,

I am trying to build a custom component using C# with .Net Framework 4.6.1 in VS2019.
But when I am trying to add the Nuget package of the component into my process in UiPath Studio 2020.10.2 version I am getting this error. I have tried by changing the target framework with my .net solution (Tried with 4.6, 4.61 and 4.7.2). But getting the same error for all.

@sarathi125
as there are many options on creating a custom activity lets assume following:

Post editing the nuget package:

once the package is created, we would suggest following:

  • check or rework on the dependencies within nuget explorer
  • ensure the created lib folder is named to 45, 46,461 but not 47 or higher
  • in case of the same Package version is created and redeployed ensure:
    • delete in advance any older packages from this activity within the .nuget folder for ensuring the latest artifact is within the deployment

@ppr ,

Thank you for your reply.

This resolved the issue.

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