I am a newbie to UIPath and I face a problem when I am trying to create a custom namespace and importing it. Below is the sequence of steps that are taken as part of this process:
1. Wrote a custom namespace in C# having getters and setters and method and built it in release mode successfully 2. Using the Nugget Package Explorer, packaged the XYZ.dll file and obtained an XYZ.nupkg 3. Placed the XYZ.dll and XYZ.nupkg in the "C:\Program Files (x86)\UiPath\Studio" and "C:\Program Files (x86)\UiPath\Studio\Packages" respectively. 4. The package appeared in the Package Manager and installed it and pulled the XYZ.dll file as Imports under the "imports" tab.
The class has a method taking (key and value as parameters) that adds it to a dictionary created in the class. when the method is invoked passing values to the parameter, it is not added to the dictionary (checked by printing it on the console), However, if I Uninstall the package and do the same process the outcome turns out to be the expected one. Couldn’t understand this strange behavior!!!
Please aid on this issue!!