My computer crashed and somehow the recovery deleted the one class file that I had done a lot of work on. I have a backup not too far back, but I’m still trying to figure out if there is a way to recover the code. I have windows 8, the abomination, and didn’t have file history turned on, so that’s a no go.
The one thought I have is that I had built an RHP file, so if I could unpack that somehow (I hadn’t obfuscated it), I could retrieve the code. Does anyone know how I can do this?
@samlochner is it RhinoCommon code? If so, I can recommend the free dotPeek tool by JetBrains. https://www.jetbrains.com/decompiler/
This will decompile a .NET assembly into readable code. It will probably not bring back comments though.
And do follow Dale’s advice and start using version control of some sort - GitHub, BitBucket to name a few. You can get private BitBucket repositories for free.
I’m rewriting my code now … you would think it would be faster the second time, but it is slower. Maybe its because of the intermittent beating of my head against a brick wall, that might have something to do with it… if anyone knows how to unpack an rhp file, please let me know so I can stop…