Where are the MVVM Light snippets?

筅森魡賤 提交于 2019-12-31 17:58:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!