Windows应用商店Visual Studio 2012模板不可用

编程入门 行业动态 更新时间:2024-10-23 03:33:32
本文介绍了Windows应用商店Visual Studio 2012模板不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在这里搜索过文章,找不到答案。我找到的最近的一个,位于 HERE 没帮我。

I have searched through articles here and cannot find my answer. The closest one I found, locatedHERE did not help me.

我正在运行Windows 8和Visual Studio Premium版本11.0.60315.01更新2.我有开发人员的执照。我觉得非常有趣的是在我们的解决方案中我们已经拥有一个Windows 8项目。我能够打开该解决方案并启动项目的新实例,但是,当我打开Visual Studio 2012并尝试添加新的Windows应用商店项目时,没有可用的模板。

I am running Windows 8 and Visual Studio Premium Version 11.0.60315.01Update 2. I have a developer's license. What I find really interesting is in our solution we already have one Windows 8 project. I am able to open that solution and start a new instance of the project, but, when I open Visual Studio 2012 and try to add a new Windows Store project, there are no templates available.

关注上面的关联帖子,我看到以下文件夹中安装的模板: C:\Program Files(x86)\ Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\Windows Store和C:\Program Files(x86)\ Microsoft Visual Studio 11.0\Common7 \IDE\ProjectTemplates\CSharp \ Windows 商店。我已经将Visual Studio指向这些文件夹以获取模板,并且我已经运行了devenv命令并且都没有帮助我解决问题。我还试图从上面的路径复制到Documents模板位置,这也没有做任何事情。

Followingthe linked post above, I see the templates installed in the following folders: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\Windows Store and C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\CSharp\Windows Store. I have pointed my Visual Studio to these folders for the templates and I have run the devenv command and neither helped my issue. I also attempted to copy from the above paths to the Documents templates location, which also did nothing.

任何想法?

推荐答案

您可以尝试通过运行"devenv.exe / InstallVSTemplates "开关。如果模板存在,此开关应使用它们重建缓存。

You could try rebuilding the template cache by running "devenv.exe /InstallVSTemplates" switch. If the templates are present, this switch should rebuild the cache with them.

此致,

更多推荐

Windows应用商店Visual Studio 2012模板不可用

本文发布于:2023-11-10 22:05:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576584.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不可用   商店   模板   Windows   Visual

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!