Tip: Develop Your Own Custom Activity with Nodepad++ and CS-Script PlugIn

In some cases it could be very useful to develop your own activities for UiPath. Therefore a longer time ago I presented CShell as one possibility. Here is another possibility with the great text editor Notepad++ and the plugin CS-Script. With this software it is also not necessary to use Visual Studio.

After the installation of Notepad++ open from Plugins menu the Admin tool. Choose CS-Script and press Install button.

After the successful installation of CS-Script plugin you get a tiny configuration hint.

notepad.002

Now you can code your C# program with Notepad++ with code completion.

notepad.005

And you can execute your C# program inside Notepad++.

It is also possible to debug your C# program line by line and to view the content of variables in an additional Debug window.

Notepad++ and CS-Script plugin are a great combination to develop C# programs and therewith activities for UiPath. Both are easy to handle, easy to install and both needs tiny space.

5 Likes

Hi I have created a custom activity for adding a document into firestore database and converted into nugget package. Tried installing via manage packages in Uipath but I get below error(I am trying this in the licensed version of UiPath). but the same package I am able to install and use it in the trial version. Please help me.

Error :
Cannot load assembly: C:\Users<userName>.nuget\packages\google.api.gax.grpc/3.0.0\lib/net461/Google.Api.Gax.Grpc.dll : System.TypeLoadException: Method ‘DisposeAsync’ in type 'Google.Api.Gax.Grpc.AsyncResponseStream1' from assembly 'Google.Api.Gax.Grpc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3ec5ea7f18953e47' does not have an implementation. at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path) at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.<>c__DisplayClass9_0.<ProcessAssemblies>b__0(Tuple2 range)