I have developed a custom activity. Below are the details I’m looking for:
I have published the code and imported it from the Studio. Now I want to edit(Add/Remove) the properties of the activity which I have created earlier. Suggest me a way to edit them.
I wanted to change the metadata of the Activity like Authors, Description. I have tried using Nuget Package Manager, but in Studio while importing the package the updated metadata is not reflecting. Suggest me a way to change them.
I want to debug the custom activity code in Visual Studio by using UiPath Studio’s execution.
Let me explain how I’m expecting:
I want to debug in such a way that using VS breakpoints, I want the Studio’s Execution to pause. (Why because I need to monitor how the button events are getting triggered in my custom code.)
I have tried by using Attach to process from Visual Studio, but that is not helping me.
Please suggest a way to achieve this.
ensure while saving the edited nuget that the version number from metadata is properly reflected on filename
in case of same version was already deployed, delete it from nuget store C:\user\Username.nuget before redeployment. Otherwise the updated package will not be reflected
No luck, those tried earlier to add a property but not worked. Usually, properties are available in Resource.Designer.cs file tried over there to update them but many compilation errors occurred(maybe I’ve attempted in the wrong way).
If you have any workaround to make it happen pls suggest.
Not sure if I got all details. So let me start to answer:
editing metadata of nuget package: Nuget Package Explorer as mentioned above
editing already rolled out package:
Lets assume following:
myPackage.2.0.0.nupkg was deployed, we do see it on .nuget store (typically: C:\Users\XXX\.nuget... extracted)
unfortunately we want to correct a spelling in the metadata description field
When we do it on myPackage.2.0.0.nupkg (and will result with an edited package but with same id and file name), then we can expect some sideeffects:
it is not ensured that this change is recognized and that the updated 2.0.0 version will be picked up by nuget and redeployed to the .nuget store. We can do it manually by deleting on the store and offered by the configure feed. But also it does make intransparent as with the info 2.0.0 we dont know if we got the old or corrected version.
So it will be more reliable to reflect every changes on a package via the semantic versioning.
However feel free to navigate within the .nuget store to your package and have a look on the *.nuspec file
I know about source version control. I have source code in handy.
From the above, you quote you see a Properties region in my source code. Which was generated by UiPath’s Activity creator, this will be generated while we are defining custom activity properties, so once we click on save, all the properties we have added earlier will be generated in form of a script, under the Properties region in our source code.
Now I have to add a couple of more inputs. I’m not sure how many .cs files I have to update for my new property.