Using custom class

hello everyone,

I’m trying to use a Custom class in my robot.

I successfully managed to build a DLL with my class inside and then put this dll inside a .nupkg that i can find and install in the studio :

But I can’t find my Class or Namespace in import tab. I can’t use the class neither :

image

The dll was in release mode.

Any idea?

Hi @ceddoc
Your Id should start with “Activities” then your id name without space.

HI @ceddoc,

Refer this post

Regards,
Arivu :slight_smile:

Hi @arivu96 and @MahalingPatil ,

I followed your recommandations :
image

But i found nothing in activity Panel :

image

image

Can you attach your c# code

Here is the complete C# project WsCaller.zip (179.3 KB)

Can you confirm me the path where you are placing your nuget packege.?

Hi @ceddoc
quote=“ceddoc, post:5, topic:46832”]
But i found nothing in activity Panel :
[/quote]

If you are creating the custom activity, after installing the package search with class name of your custom activity.
CreationSociete

Regards,
Arivu :slight_smile:

1 Like

Oh, you perhaps point something pertinent, i put it here : C:\Program Files (x86)\UiPath\Studio\Packages

Should I create %USERPROFILE%.nuget\Packages and put it there?

Nothing in Activities Panel with the class name :’(

Have you resolved the issue?

Even im facing the Same issue, can this be solved?