MVVM Light in Visual Studio 2012 shows no project templates

折月煮酒 提交于 2019-12-10 09:36:37

问题


I have followed guide on http://www.galasoft.ch/mvvm/installing/ to install MVVM light on VS 2012. I've downloaded MVVM Light Toolkit V4.1 for Visual Studio 2012 from http://mvvmlight.codeplex.com/releases and after installation I cannot see any MVVM light projects when I click FILE->NEW PROJECT in VS 2012.

I choose to install binaries, templates and snippets everything by default. I have no idea what's happening.

What do I wrong? There are no errors.

My aim is to create MVVM light project with VS 2012 in C#


回答1:


To enable project template you have to go to Start - Programs - MVVM Light - Vsix folder and run one of the files there (I think you need MvvmLight.VS2012.vsix but read their names carefully to find the one that fits your Visual Studio edition). If you don't have such folder - try to find it somewhere in "C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix"




回答2:


I'm a bit late, but check the following path:

C:\Program Files\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix

(Start > All Programs > MvvmLight > VSIX)

You'll find Visual Studio Extensions (vsix). Try running the VS2012.




回答3:


I've solved problem by installing it manually from the source code. I've copied snipptes, templates to VS 2012 directory and it worked.

Source can be found here http://mvvmlight.codeplex.com/SourceControl/changeset/view/b9bb3f49bb0e



来源:https://stackoverflow.com/questions/15783746/mvvm-light-in-visual-studio-2012-shows-no-project-templates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!