简体   繁体   English

WP7 XNA + Silverlight模板丢失

[英]WP7 XNA+Silverlight Templates missing

I got an issue with Visual Studio, Silverlight 5 Beta SDK and XNA. 我遇到了Visual Studio,Silverlight 5 Beta SDK和XNA的问题。

I did a fresh install of all Visual Studio components I need to create the application I have in mind: 我完成了所有Visual Studio组件的全新安装,我需要创建我想到的应用程序:

  1. Visual C# 2010 Express Visual C#2010 Express
  2. XNA Game Studio 4.0 XNA Game Studio 4.0
  3. Visual Web Developer 2010 Express Visual Web Developer 2010 Express
  4. Visual Studio 2010 Express for Windows Phone 适用于Windows Phone的Visual Studio 2010 Express
  5. Visual Studio 2010 SP1 Visual Studio 2010 SP1
  6. Silverlight 5 Beta Tools Silverlight 5 Beta工具

However, when I start VS 2010 Express for Windows Phone and go to create a new project these are the templates I have: 但是,当我启动VS 2010 Express for Windows Phone并创建一个新项目时,这些是我拥有的模板:

Missing Templates 缺少模板

缺少模板

But there are a few templates missing. 但是缺少一些模板。

How can I make appear the following templates: Full list of templates 如何显示以下模板:模板的完整列表

在此输入图像描述

So what am I missing in this? 那我在这里错过了什么? I believe I installed everything and still nothing appears. 我相信我安装了一切,但仍然没有出现。 Is it because I'm using the express edition of visual studio? 是因为我正在使用visual studio的快递版吗? it doesn't make much sense though. 虽然它没有多大意义。

You installed that SDK correctly (uninstalled a previous installed SDK version correctly too)? 您是否正确安装了该SDK(也正确卸载了以前安装的SDK版本)?

You could try and reset your vs2010 settings. 您可以尝试重置vs2010设置。 This sometimes helps to restore missing project templates. 这有时有助于恢复缺少的项目模板。 You can do so like this: 你可以这样做:

  • Go to Tools / Import Export Settings 转到工具/导入导出设置
  • Choose to "Reset all Settings" 选择“重置所有设置”
  • Restart Visual Studio 重新启动Visual Studio

No guarantees but that helped me once before, so it is probably worth a try. 没有保证,但这曾经帮助过我,所以它可能值得一试。

只有其他人知道,您必须先拥有Visual Studio 2010 Service Pack 1( 下载链接 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM