"Package Installation Failure" on Custom Activity

Dear Community,
I am building a custom activity to create a custom class of object in Uipath. Essentially, I need to create an object that will act as a header with different properties, when I use it to consume a SOAP web service.

I have built the custom activity, packaged it as a .nupkg, installed it in the manage packages option, but only get a message saying “Package Installation Failure”, without additional details. Any idea what might be going on?

As reference, here is the code behind my custom activity:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Activities;
using System.ComponentModel;

namespace CreateEnteteRA
public class CreateEnteteRA: CodeActivity
public InArgument in_IdEntIntvnEchg { get; set; }
public InArgument in_TypEntIntvnEchg { get; set; }
public InArgument in_NoEchgFich { get; set; }
public InArgument in_EtatEchgFich { get; set; }
public OutArgument out_EnteteRA { get; set; }

    public class Entete
        public string IdEntIntvnEchg { get; set; }
        public string TypEntIntvnEchg { get; set; }
        public string NoEchgFich { get; set; }
        public string EtatEchgFich { get; set; }
        public Entete(string idEntIntvnEchg, string typEntIntvnEchg, string noEchgFich, string etatEchgFich)
            IdEntIntvnEchg = idEntIntvnEchg;
            TypEntIntvnEchg = typEntIntvnEchg;
            NoEchgFich = noEchgFich;
            EtatEchgFich = etatEchgFich;

    protected override void Execute(CodeActivityContext context)
        string idEntIntvnEchg = in_IdEntIntvnEchg.Get(context);
        string typEntIntvnEchg = in_TypEntIntvnEchg.Get(context);
        string noEchgFich = in_NoEchgFich.Get(context);
        string etatEchgFich = in_EtatEchgFich.Get(context);

        Entete EnteteRA = new Entete(idEntIntvnEchg, typEntIntvnEchg, noEchgFich, etatEchgFich);

        out_EnteteRA.Set(context, EnteteRA);


Thank you very much!

Have a nice day,

Hi @Phil

Maybe @DeanMauro could help here a bit? :slight_smile:

Thanks for the response.

Actually, the mistake was on my part: I had skipped the creation of the lib in NuGet package explorer when looking at the documentation. Once I actually followed the instructions, the whole thing worked great :wink:


Have a nice day,


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