问题
I got an issue with Visual Studio, Silverlight 5 Beta SDK and XNA.
I did a fresh install of all Visual Studio components I need to create the application I have in mind:
- Visual C# 2010 Express
- XNA Game Studio 4.0
- Visual Web Developer 2010 Express
- Visual Studio 2010 Express for Windows Phone
- Visual Studio 2010 SP1
- Silverlight 5 Beta Tools
However, when I start VS 2010 Express for Windows Phone and go to create a new project these are the templates I have:
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? it doesn't make much sense though.
回答1:
You installed that SDK correctly (uninstalled a previous installed SDK version correctly too)?
You could try and reset your vs2010 settings. 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
No guarantees but that helped me once before, so it is probably worth a try.
回答2:
Just for others to know, you must have Visual Studio 2010 service pack 1(download link) before that.
来源:https://stackoverflow.com/questions/6402493/wp7-xnasilverlight-templates-missing