Where are the MVVM Light snippets?

后端 未结 2 1852
萌比男神i
萌比男神i 2021-02-05 05:32

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

Where can I find them ?

相关标签:
2条回答
  • 2021-02-05 06:11

    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.
    0 讨论(0)
  • 2021-02-05 06:14

    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.

    0 讨论(0)
提交回复
热议问题