1

I lost my code but I published the code a few days ago in visual studio. Is it possible to reverse the .manifest files and .deploy files back to c# code?

Edit: its a console application This is all i have: https://i.stack.imgur.com/Y1Qd5.jpg

wouter
  • 359
  • 4
  • 15

2 Answers2

3

see here

Reflector and its add-in FileDisassembler.

Reflector will allow to see the source code. FileDisassembler will allow you to convert it into a VS solution.

Community
  • 1
  • 1
Marc Wittmann
  • 2,286
  • 2
  • 28
  • 41
  • I just drag the .exe to the reflector right? it tells me : `File is not a portable executable. DOS header does not contain 'MZ' signature. ` – wouter Jun 26 '15 at 08:51
  • 1
    load only the executables/dlls and not the manifest files... which file gives you the error? if you rename the ...*.deploy file to .* (without deploy) can you execute your program? – Marc Wittmann Jun 26 '15 at 09:16
2

If you're not using any Source-Control-System your code is lost.

You can try to get back your code by decompiling your published version. Therfor you can use something like ILSpy.

Tomtom
  • 9,087
  • 7
  • 52
  • 95