简体   繁体   English

“没有可用于'C:\\ Users \\…\\ Form1.cs'的编辑器。”(Visual Studio 2013)

[英]“There is no editor available for 'C:\Users\…\Form1.cs'.” (Visual Studio 2013)

My computer restarted when my solution was open, and now I get the following error whenever I try to open Form1.cs: 打开解决方案后,我的计算机重新启动,现在,每当尝试打开Form1.cs时,都会出现以下错误:


There is no editor available for 'C:\\Users\\Nick\\Documents\\Visual Studio 2013\\Projects\\WindowsFormsApplication1\\WindowsFormsApplication1\\Form1.cs'. 没有适用于'C:\\ Users \\ Nick \\ Documents \\ Visual Studio 2013 \\ Projects \\ WindowsFormsApplication1 \\ WindowsFormsApplication1 \\ Form1.cs的编辑器。

Make sure the application for the file type (.cs) is installed. 确保已安装文件类型(.cs)的应用程序。


I can choose "Open With..." by right-clicking. 我可以通过右键单击选择“打开方式...”。
However, when I select "CSharp Form Editor (Default)", it opens a notepad file with roughly 5000 characters worth of spaces. 但是,当我选择“ CSharp Form Editor(默认)”时,它将打开一个记事本文件,其中包含大约5000个字符的空格。

Visual Studio可能已损坏,请对其进行修复以使其恢复正常

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

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