简体   繁体   English

在Visual Studio(C#)中查找源代码

[英]Finding the source code in visual studio (C#)

I had an application which has written by C# (Visual studio). 我有一个用C#(Visual Studio)编写的应用程序。 Now when I try to see the source code (form.cs) , I can't find and open it But When I run the application, it runs correctly. 现在,当我尝试查看源代码(form.cs) ,找不到并打开它,但是当我运行该应用程序时,它可以正常运行。 By the way, I did not change the name of form . 顺便说一句,我没有更改form的名称。

What has happened? 发生了什么事?

Thanks in advance 提前致谢

如果您丢失了form.cs文件,而只有.exe文件,则可以使用反编译器 ,它将把您的代码吐回来,但它不会像以前那样漂亮,但是您将拥有并能够对其进行编辑和编译再来一次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM