23

It seems that snippets of MVVM Light are not installed when we use Nuget to install MVVM Light Toolkit.

Where can I find them ?

4

2 回答 2

29

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.
于 2013-03-29T18:11:05.310 回答
7

For anyone else who didn't find C# snippets in the download specified in the accepted answer, you can download MVVM Light extension

这不仅会为您安装 C# 代码片段,还会为您安装相关的项目和项目模板。

下载也适用于 VS2015 的社区版。

于 2015-12-30T18:19:55.023 回答