I have a custom activity which was running fine on UiPath 2021.10.5 , but after upgrading to 2022.10.3, the project type was windows-legacy then I converted that project to windows because my client is going to upgrade it to 2024.10.x and windows-legacy will not work on that one , after that it was not working ,so I tried to build a new .dll file by Visual studio 2015 , but initially it was showing in the manage packages but after some time it’s shows nothing,although path is correct . Then I searched on internet it says it can be a .net version error, and we have to migrate to .net6 then I followed the documentation and also this link
then I changed the target framework to 4.6.1 and build the package i tried with the solution (which I mentioned as 1 in picture) then I am getting an error
I created the .dll file and with the help of nuget package manager I added folder
net6.0-windows7.0
Also I followed the UiPath docs which also mentioned to add .net461 folder and adding files .dll and config
I tired by adding System.activites.DLL file in .net6 folder also
Error :-
Could not load type ‘System.Activities.XamlIntegration.ActivityXamlServices’ from assembly ‘System.Activities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null’.
Then I tried without the System.Activite.dll file , but nothing works
I also got another error like this
I followed this link saying solution for the error
Error :-
Could not load type ‘System.Activities.XamlIntegration.ActivityXamlServices’ from assembly ‘System.Activities, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null’.
That I have to add a reference for the assembly
But it shows me error
If I remove the initial Reference of the System.Activities then another error comes again.
Not able to get the package working .
Thanks in Advance