Windows应用商店Visual Studio 2012模板不可用 [英] Windows Store Visual Studio 2012 templates not available

查看:73
本文介绍了Windows应用商店Visual Studio 2012模板不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have searched through articles here and cannot find my answer.  The closest one I found, located HERE 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.01 Update 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模板位置,这也没有做任何事情。 

Following the 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模板不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆