问题
It seems that snippets of MVVM Light are not installed when we use Nuget to install MVVM Light Toolkit.
Where can I find them ?
回答1:
Snippets are available on GitHub.
- Download the code (upper right Clone or download button) and extract it.
- Use the Visual Studio Code Snippet manager (from the "Tools" menu) to import the snippets located in the
Installer/InstallItems/Snippets/CSharp
folder of the extracted code.
回答2:
For anyone else who didn't find C# snippets in the download specified in the accepted answer, you can download MVVM Light extension
- for VS2015 (as well as for VS2013 and VS2012) from this link.
- for VS2017 from this link.
This not only installs C# snippets for you, but also the relevant Project and Item templates.
The download works with the Community Edition of VS2015 too.
来源:https://stackoverflow.com/questions/15708948/where-are-the-mvvm-light-snippets