2

When I have installed the MVVM Light v3.xx in Visual Studio 2010 I have many templates for creating MVVM projects.

But I need to do a clean install of Visual Studio, and in this ocasion I have installed the version 4 RTM of MVVM Light, and I don't see any templates.

I notice that in the install wizard, There is templates for express edition of Visual Studio, but no to the Profesional Edition.

Is there no template in the new version of MVVM light?

4

2 回答 2

2

MVVM Light v4 更改为使用 VSIX 来安装模板。只需运行C:/Program Files (x86)/Laurent Bugnion (GalaSoft)/Mvvm Light Toolkit/VSIX/MvvmLight.VS2010.vsix,您就应该拥有模板。

还要确保您从以下链接下载:http: //mvvmlight.codeplex.com/downloads/get/476364(我认为也有一个 VS2012-only 安装程序)

于 2013-02-06T18:40:40.470 回答
-1

我安装了 Visual Studio 2010 和 2012,也许这就是问题所在。但我不确定。

这就是我让它工作的方式:

  1. 卸载 Visual Studio 2012
  2. 卸载 MVVM 工具包
  3. 安装 MVVM Toolkit 4.0(适用于 VS2010)
  4. 执行C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix\MvvmLight.VS2010.vsix

之后,模板安装在 VS2010 中。

4.如果您像@RandomEngy's answer建议的那样执行文件(如果存在VS2010文件),也许就足够了。

于 2013-02-06T19:01:33.017 回答