为什么我的项目没有正确打开? [英] Why isn't my project opening correctly?

查看:53
本文介绍了为什么我的项目没有正确打开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,我在夏天的大部分时间里都需要在一周内完成。我最近打开它,Form1无法打开,给我一条消息没有可用于Form1.cs的编辑器。确保安装了文件类型的应用程序。我的另外两种形式,ControlCenter和Information,打开非常好。但是,Form1将无法打开,Form1.Designer抛出错误Form1.Dispose(bool)':找不到合适的方法来覆盖,在记事本中打开时,Form1.cs文件显示为空,我已经尝试重新安装Visual工作室。我该怎么办?

I have a project that I have spent most of the summer on that needs to be finished in a week. I recently went to open it and Form1 wouldn't open, giving me the message "There is no editor available for Form1.cs. Make sure the application for the file type is installed." My other two forms, ControlCenter and Information, open perfectly fine. However, Form1 won't open, the Form1.Designer throws the error "Form1.Dispose(bool)': no suitable method found to override", the Form1.cs file appears empty when opened in Notepad, and I already tried reinstalling Visual Studio. What can I do?

推荐答案

我想在夏天花在你的代码库上的时候,你会有一些源控制机制到位吗?再说一次,从你问这个问题,我想你不这样做。您最好的选择是检查是否保存了自动恢复信息。默认情况下,位置为\ ... \ My Documents \Visual Studio< version> \ Backup Files \< projectname>。检查工具 - 选项 - 环境 - 自动恢复。
I suppose that when spending most on the summer on your code base, you would have some kind of source control mechanism in place? Then again, from you asking this question, I guess you don't. Your best option is checking if autorecovery information is saved. By default, the location is \...\My Documents\Visual Studio <version>\Backup Files\<projectname>. Check Tools-Options-Environment-AutoRecover.


这篇关于为什么我的项目没有正确打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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