当我尝试添加新项目时,其他项目类型文件夹为空

问题描述:

我正在尝试为我的应用程序添加一个安装项目,但缺少此项目类型。

I'm trying to add a setup project for my application, but this project type is missing.

我按照这些步骤操作,但它没有改变:

I followed these steps but it doesn't change a thing:


  1. 转到工具>>导入和导出设置>>重置所有设置>>选择是或否保存当前设置>>
  2. 然后选择Visual C#开发设置或一般开发设置。
  3. 这样您就可以拥有所需的模板。

请帮忙!我已经没时间了,需要快速解决这个问题

Please Help! I'm running out of time and need to have this solved quick

BTW我还没有重新安装VS,但我应该吗?

BTW I haven't reinstalled VS yet, but should I?

您好,

其他项目类型文件夹不应为空。

The Other Project Types folder shouldn't be empty.

至少应包含Visual Studio Solutions文件夹(提供Blank Solution模板)。如果缺少此文件夹,您可以尝试:

At the very least it should contain the Visual Studio Solutions folder (which provides the Blank Solution template). If this folder is missing, you can try:

1)如何:恢复默认项目模板

1) How to: Restore Default Project Templates

https://msdn.microsoft.com/en-us/library/ms247116(v=vs.100).aspx

2)修复/重新安装Visual Studio。

2) Repair / Reinstall Visual Studio.

另请注意,VS 2017尚未提供启用InstallShield限制版以前的VS版本提供。

Also, notice that VS 2017 doesn't provide yet the Enable InstallShield Limited Edition that previous VS versions provided.