Where are the MVVM Light snippets?
Asked Answered
D

2

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 ?

Desist answered 29/3, 2013 at 18:11 Comment(0)
D
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.
Desist answered 29/3, 2013 at 18:11 Comment(1)
Simply extract and put snippet files under \My Documents\Visual Studio 2015\Code Snippets\Visual C#\My Code Snippets\MvvmLightCSharpSnippets . Then you can try it out by typing "mvvm". No restart is required.Masseuse
V
7

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

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.

Viscounty answered 30/12, 2015 at 18:19 Comment(1)
Can be faster to download and easier. Thanks for posting. I updated the path of snippets in my answer as it changed since the first post.Desist

© 2022 - 2024 — McMap. All rights reserved.