在 Visual Studio 2012 for windows Phone 8 中看不到 Windows Phone 模板 [英] Can't See Windows Phone Template in Visual Studio 2012 for windows Phone 8

查看:28
本文介绍了在 Visual Studio 2012 for windows Phone 8 中看不到 Windows Phone 模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

之前我使用 Visual Studio 2012 for Windows Phone 8.并开发了一些项目.

Previously I used Visual Studio 2012 for Windows Phone 8. and developed some projects.

但是,突然没有了创建 windows phone 应用程序的选项.

But, suddenly there is no options for creating windows phone App.

如果我尝试创建一个新项目会显示这样的错误弹出窗口.

If i try to create a new project will show error popup like this.

推荐答案

右键单击 Visual Studio 命令提示符快捷方式,然后选择以管理员身份运行

Right-click on the Visual Studio Command Prompt shortcut and then select Run as Administrator

运行下面的命令

devenv /installvstemplates
devenv /resetsettings

http://www.tanchunsiong.com/visual-studio-2012-no-template-information-found/

更新:

此开关仅支持 Visual Studio 合作伙伴开发,在 Express 版本中不可用.您必须将 devenv 作为管理员才能使用/Setup (devenv.exe) 和/InstallVSTemplates (devenv.exe) 开关.有关更多信息,请参阅用户权限和 Visual Studio.

This switch is supported only for Visual Studio partner development, and is not available in Express editions. You must run devenv as an administrator in order to use the /Setup (devenv.exe) and /InstallVSTemplates (devenv.exe) switches. For more information, see User Permissions and Visual Studio.

http://msdn.microsoft.com/en-us/图书馆/vstudio/ms241279.aspx

这篇关于在 Visual Studio 2012 for windows Phone 8 中看不到 Windows Phone 模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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