Hi, I want to see the library files code, but unable to open it and i tried all the methods discussed in the forum but no use, Please help out how to see library files in studio
Until and unless the library is published with Code inclusion, you can’t see the code. You will have to decompile the code using special software.
Hi @Mohan_V916
if you are trying to get the code for libraries that was published by/within your organization, you can retrieve the code if you guys use any code repository like github or bit bucket.
else it can’t be retrieved unless library was published to include the sources like @ashokkarale mentioned.
Regards
Sonali
Hi @Mohan_V916
In UiPath Studio, you can view and use library files through the Activities panel, where installed packages like for example UiPath.Excel.Activities appear, allowing you to drag activities into your workflow. However, this does not show you the underlying source code. To explore the actual contents of a library, you need to access the local NuGet package cache which you have already published located at C:\Users\<your-username>\.nuget\packages\ . There, you can find the specific package folder, extract the .nupkg file using a tool like 7-Zip, and examine its contents. Inside, you’ll typically find .dll files which contain the compiled activity code. To view this code, you can use a decompiler such as dnSpy or ILSpy, which lets you explore the decompiled C# source. Keep in mind that some packages may be obfuscated, making the code harder to understand. For custom libraries, it’s best to obtain the original source project or open the embedded .xaml files if available.
Welcome to the community
You need to maintain your own source control like git or svn to have the code the published library generally would not contain source xamls
Cheers
Thanks for your response, i got the library code form Git repository
