问题
Does MVVM Light work with Visual C# Express? Can't seem to get any of the templates showing up.
回答1:
At this point, I do not support Visual C# express for MVVM Light templates. I only support express editions for the Windows Phone and for Windows 8 (Visual Studio 11 for WinRT).
I will consider supporting Visual C# express in a further revision of the installer. Unfortunately supporting new versions of Visual Studio is quite a lot of work to update the MSI...
回答2:
It's quite easy to take the templates and move them to the personal template directory and they appear in visual studio 2010 express.
But I can't find the WPF4 dll. In GalaSoft binary dir, there's Silverlight 3/4/5 and WP7/WP71, but no WPF.
回答3:
According to the MVVM Light Toolkit Codeplex pages, it should. Did you explicitly follow the installation instructions given on this page?
回答4:
MVVMLight is just MVVM framework. It has nothing to do with project template in Visual Studio. I think your problem is Visual Studio hasn't installed correctly.
Update:
In case WPF project template not show up, run VCSExpress.exe /InstallVSTemplates
at your installation path, e.g. $\Microsoft Visual Studio 10.0\Common7\IDE\VCSExpress.exe /InstallVSTemplates
来源:https://stackoverflow.com/questions/7776946/mvvm-light-and-visual-c-sharp-express