缺少Visual Studio 2015社区Xamarin跨平台模板 [英] Visual Studio 2015 Community Xamarin Cross-Platform templates missing
本文介绍了缺少Visual Studio 2015社区Xamarin跨平台模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用Xamarin安装了Visual Studio 2015社区更新3,更新了Xamarin,一切工作正常.
I installed Visual Studio 2015 Community Update 3 with Xamarin, updated Xamarin and everything was working fine.
但是突然间,当我尝试创建一个新项目时,Xamarin跨平台模板丢失了.
But suddenly, the Xamarin Cross-Platform templates went missing when I tried to create a new project.
我不再有这些模板:
我只有这些:
我尝试过的事情:
- 更改
- 修复
- 卸载&重新安装Xamarin
- 尝试过此解决方案(删除cache.bin文件): https://stackoverflow.com/a/40201478/1351076
- Change
- Repair
- Uninstall & reinstall Xamarin
- Tried this solution (delete cache.bin files): https://stackoverflow.com/a/40201478/1351076
配置:
- Visual Studio 2015社区更新3
- Xamarin 4.2.2.11
问题:
有人遇到这个问题或解决方案吗?
Anyone having this issue or a solution?
我可以在哪里下载官方缺少的模板吗?
Can I download somewhere the official missing templates?
推荐答案
这对我有用:
- C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ Extensions \
- 找到正确的子文件夹.这可能很棘手.我有一个Xamarin文件夹,但这不是正确的文件夹.在我的情况下,它是文件夹wa13kl1p.m3s. 但是,打开文件夹并检查其中是否包含Xamarin.Forms.Templates ...文件.
- 在该文件夹内,导航到T/P/CSharp文件夹.
- 将跨平台文件夹复制到C:\ Users \\ Documents \ Visual Studio 2015 \ Templates \ ProjectTemplates \ Visual C#
- C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\
- Find the correct subfolder. This can be tricky. I had a Xamarin folder, but that was not the right one. In my case it was folder wa13kl1p.m3s. However, open your folders and check it there is some Xamarin.Forms.Templates... files in it.
- Inside that folder navigate to the T/P/CSharp folder.
- Copy the Cross-Platform folder over to C:\Users\\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
与ItemTemplates相同:
Same thing for the ItemTemplates:
- 但是这次导航到T/I/CSharp文件夹.
- 将跨平台文件夹复制到C:\ Users \\ Documents \ Visual Studio 2015 \ Templates \ ItemTemplates \ Visual C#
这篇关于缺少Visual Studio 2015社区Xamarin跨平台模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文