Decompile .dll files to .xaml files

Hello,

Is there a way to decompile .dll file into the .xaml files?

I mistakenly lost my workflow files, and I am trying to retrieve them from the published process.

I did not tick the include sources option while publishing. I downloaded the process file from orchestrator and extracted them, however I cannot find the net45 folder instead I have net6.0-windows7.0 folder which contains some .dll files.

Is there a way to decompile this back into .xaml

Hi @David_Kimani

Please try the following steps & let us know.

  1. Extract the nupkg file
  2. Download the program: dotPeek: Free .NET Decompiler & Assembly Browser by JetBrains
  3. Use the program to open the .dll file.
  4. Under ‘Resources’, you can find all the original .xaml files.
  5. Save those back to the extracted folder where the “project.json” file is.

Cheers

2 Likes

Hello @David_Kimani

If the package is there in the orchestrator. Then download the NuGet package and unzip it. Then you can see the .xaml files.
You can open that in the studio.

Thanks

Hello @arjunshenoy

Thank you for this.

I have followed up to this point. I can see the workflows files but cannot see the Resources.

How do I go from here?

You need to find on the Studio machine the local project (usually they are in your user Documents\UiPath) and re-publish again while including the source files.

Then with the decompiler, you will see the Resources folder with XAML files.

Hello @marian.platonov

I am trying to recover files I lost, so I do not have them on the local.

Looking for a way to retrieve the local changes I lost.

isit possible to decompile a package uploaded to the UiPath marketplace?

Hi @arjunshenoy Arjun

I tried that and I am here until this point
I could not find ‘Resources’ as you said above

Can you guide ahead from here ?