I have nugget package (library) for my custom code from UiPath.
I am trying to make this nugget package compatible with windows version, so I was thinking to install Visual Studio Code and decrypt the nugget package to view the code and make this code compatible with the Windows version. Is this the right way to make my nugget package compatible with windows or How can we achieve this?
If you don’t have the .Net461 original code of your Dll file in VS Studio, you can use the JetBrains dotPeek to inspect and get the backend code of the dll library files.
To address your question about making a UiPath custom activity NuGet package compatible with the Windows version and accessing the underlying code, here’s a step-by-step guide:
Important Note:
NuGet packages are usually built from source code, but once compiled, they do not contain the original source code (like .cs files). Instead, they contain compiled DLLs. Thus, “decrypting” a NuGet package means extracting and decompiling the DLL files to view the source code.
Step-by-Step Solution:
Step 1: Extract the NuGet Package
Download the .nupkg file (NuGet package) if you haven’t already.
Rename the .nupkg file to .zip.
Example: Rename MyPackage.nupkg to MyPackage.zip.
Extract the .zip file using any archive tool (e.g., WinRAR, 7-Zip). This will give you access to the package contents, which include .dll files and other resources.
Step 2: Decompile the DLLs
To view the code within the extracted DLLs, you can use one of the following tools: