如何在c#windows应用程序中从.exe文件中获取我的源代码? [英] How can get back my source code from .exe files?in c# windows application

查看:663
本文介绍了如何在c#windows应用程序中从.exe文件中获取我的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有C#windows应用程序exe文件。我丢失了源代码,现在我面临着exe文件的问题。我怎样才能获得原始源代码?有什么建议吗?



我尝试了什么:



我想要知道如何将.exe文件转换为原始源代码

I have C# windows application exe files. I lost source code and now I am facing problem with exe files. How can I get original source code? Any suggestions?

What I have tried:

I want to know how to convert .exe files to original source code

推荐答案

您可以使用等工具ILSpy [ ^ ]或Reflector [ ^ ]这样做。
You can make use of tools like ILSpy[^] or Reflector[^] to do so.


这样的东西 .NET Decompiler:反编译任何.NET代码.NET Reflector [ ^ ]可能会帮助你。在你使用它之前,以及'ymmv',更重要的是,我建议你自学如何使用源代码控制/存储库系统和/或甚至离线解决方案/源代码的简单zip备份



不要gitme cr @ p关于像git这样的东西,例如太难 - 如果你不喜欢命令行,请使用Atlassian的SourceTree(免费)产品
something like this .NET Decompiler: Decompile Any .NET Code | .NET Reflector[^] might help you. Before you use that, and 'ymmv', and even more importantly, I'd suggest you teach yourself how to use a source control/repository system and/or even take simple zip backups offline of your solution/source

Dont gimme cr@p about things like git for example being 'too hard' - if you dont like command-line, use Atlassian's SourceTree (FREE) product


这篇关于如何在c#windows应用程序中从.exe文件中获取我的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆