安装完windows phone7开发工具(WPDT)之后,在开始菜单中就新增了Expression Blend for Windows Phone、Visual Studio 2010 Express for Windows Phone 以及Windows Phone Devloper Tools。 装完后发现在Blend和VS Express中可以正常新建WP7的项目。但之前安装的Visual Studio2010旗舰中文版,新建项目时,并windows phone7的相关项目模板(有XNA4.0的)。Google之后,发现基本没有神马文章解决这个问题,甚至有些说不支持Visual Studio中文版。经探索,可以采用以下方式解决:

1. 找到windows phone7的项目模板(因为可以用Express版新建,因此肯定存在)。

位置为:X:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Silverlight for Windows Phone.

2. 作为用户模板安装。

方法为:将第一步的文件夹复制到VS2010的用户项目模板目录中即可。

用户模板位置:C:\Users\UserName\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#

3. 启动VS2010旗舰版,顺利搞定!

相关文章:

  • 2021-06-03
  • 2021-07-20
  • 2021-10-23
  • 2022-12-23
  • 2022-02-24
  • 2022-12-23
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2021-05-14
  • 2021-07-17
  • 2021-09-29
  • 2021-07-16
  • 2022-01-31
  • 2021-06-20
相关资源
相似解决方案