I’ve created a custom activity in visual studio and migrated to .NET 6 as steps given on the following page: https://docs.uipath.com/developer/other/latest/developer-guide/migrating-activities-to-net
After creating a .nupkg package and while trying to install it from UiPath Studio (manage packages), it gives the following error.
Cannot load assembly: C:\Users\PrashanthD.nuget\packages\numberssum.activities\1.0.8\lib/net6.0-windows7.0/MathSquareOfSum.dll : System.IO.FileNotFoundException: Could not load file or assembly ‘System.Activities, Version=6.0.3.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
File name: ‘System.Activities, Version=6.0.3.0, Culture=neutral, PublicKeyToken=null’
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainerBase.AddAssemblyInternal(Assembly assembly, String path)
at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainerBase.<>c__DisplayClass15_0.b__0(Tuple`2 range)
Thanks for any relevant response in advance.