简体   繁体   English

Visual Studio C#无法创建新的Windows窗体项目

[英]Visual Studio C# Can't make new windows form project

I started up Visual Studio this morning and wanted to create a new C# Windows Form project. 我今天早上启动了Visual Studio,想要创建一个新的C#Windows窗体项目。 But for some reason it doesn't show up anymore. 但由于某种原因,它不再出现了。 My friend can still make new C# Windows Form projects but for me I can't even see it as an option. 我的朋友仍然可以制作新的C#Windows Form项目,但对我来说,我甚至不能将其视为一种选择。

在这里你可以看到我还有的选项

The Windows Form should be the top one... Windows窗体应该是最顶层的...

I couldn't find anything on google. 我在谷歌上找不到任何东西。 Does anyone know a solution? 有谁知道解决方案?

What you can do is closing all instances of Visual Studio 您可以做的是关闭Visual Studio的所有实例

then, running the following command in the Visual Studio command prompt 然后,在Visual Studio命令提示符中运行以下命令

devenv /installvstemplates

https://chiragrdarji.wordpress.com/2008/05/06/missing-templates-in-visual-studio-installed-templates/ https://chiragrdarji.wordpress.com/2008/05/06/missing-templates-in-visual-studio-installed-templates/

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

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