询问者
vs2019项目模板总是消失,第十次了,每次都这样。重装完模板还是会消失。叫空项目的模板

问题
全部回复
-
你好,
你可以提供一下你需要的模板是哪些吗? 请打开VS installer 尝试 “修复” 一下VS2019,第十次是你重装的次数吗?
如果可以,麻烦上传一下截图,以便我们分析问题。
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
-
重装,修复还是没用。一共十次了。这个问题的出现不止十次了。很频繁。重装修复加起来少有十次。而且我什么都没动就消失了
- 已合并 Jack Zhai-MSFTMicrosoft contingent staff, Moderator 2019年5月21日 10:24 同样的问题
-
你好,
首先麻烦确定一下你在VS installer 里面成功安装了 相对应的工作负载 : .NET development workload. 关闭你的杀毒软件,使用devenv /safemode 启动VS: https://docs.microsoft.com/en-us/visualstudio/ide/reference/safemode-devenv-exe?view=vs-2017 可防止所有第三方 VS 包在 Visual Studio 启动时加载, 从而确保稳定执行。
如果仍然有问题,请进入:<VisualStudioInstallDir>\Common7\IDE\, 如果你没有改变你的安装路径,则在:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE。然后你会发现有四个文件夹:
- ItemTemplates
- ItemTemplatesCache
- ProjectTemplates
- ProjectTemplatesCache
关闭VS,删除两个缓存文件夹“temTemplatesCache”,“ProjectTemplatesCache” 你也可以备份他们,如果你觉得有任何的风险存在。
然后以管理员身份打开CMD命令行窗口,使用“cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE” 回车进入此路径, 运行“devenv.exe /InstallVSTemplates”, 现在打开VS去查看两个缓存文件是否重新创建,然后看看是否使用空项目模板创建相关项目。
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
- 已建议为答案 Jack Zhai-MSFTMicrosoft contingent staff, Moderator 2019年5月21日 7:03
- 取消建议作为答案 Jack Zhai-MSFTMicrosoft contingent staff, Moderator 2019年5月21日 10:22
-
你好,
我以在你的原贴下回复了您,请查看原贴。
避免发重复的帖子,以方便我们持续跟进你的问题。谢谢理解。
May
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
-
请问您现在的问题怎么样了?还是存在这个问题吗?
你的意思是没有空项目(Empty Project)是吗?因为我用的是英文版本的,所以确认一下,另外你这边再language下拉菜单里面,是不是选了C#,也没有这个选项?
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.