博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How to install MVVM Light Toolkit via NuGet
阅读量:5141 次
发布时间:2019-06-13

本文共 1745 字,大约阅读时间需要 5 分钟。

Here is how you can install MVVM Light Toolkit  via NuGet in an easy way using only Visual Studio.

Step1. Create a new Widows Phone Application Project

Step2. If you have not used NuGet before then go to VisualStudio Tools-> ExtentionManager as demonstrated below:

Step3.Go to "Online Gallery" tab and type "nuget" in the search box. Next  install "NuGet Package Manager"  as demonstrated below:

Step4. After you have installed the NuGet Package Manager just right-click the References folder in your project and from the context menu select the "Manage NuGet Packages.." option:

Step5-a. A new window will appear where you can search for a particular package. So just start typing "mvvm light"  in the search box and you should see the "MVVM Light" package on top. Next press install.

Step5-b: Alternatively you can Installing he "MVVM Light" package using the command line:

Just go to View ->Other Windows -> Package Manager Console:

Next type the following code in the console:

PM> Install-Package MvvmLight

Step6. After the installation has finished you should see the following:

Step7. That was all. You will notice that your project now references the MVVM Light assemblies and a new View Model folder has been automatically added to your project. Your project is now set up and  you are ready to start using the MVVM Light in your application. A ViewModelLocator is also added to your project and included it in App.xaml.

Step8. Later if you would like to update to the latest version of MVVM Light, you can use the following NuGet command:

PM> Update-Package MvvmLight

That was all about how to install "MVVM Light  Toolkit"  via NuGet. I hope that the tip was helpful.

 

原文链接:

转载于:https://www.cnblogs.com/sirkevin/archive/2012/06/10/2543710.html

你可能感兴趣的文章
【C/C++】C/C++中Static的作用详述
查看>>
【Android】Android输入子系统
查看>>
架构之重构的12条军规
查看>>
logstash快速入门 (这篇文章很不错 ) | 两种方式往logstash传输数据实例:Apache 日志(从文件获取)、Syslog方式...
查看>>
linux中修改ip地址
查看>>
异步委托
查看>>
poj 3368_2
查看>>
李晓菁201771010114《面向对象程序设计Java》第十五周学习总结
查看>>
利用Fiddler或Charles进行mock数据
查看>>
从零开始的全栈工程师——js篇(cookie)
查看>>
java 锁机制(synchronized 与 Lock)
查看>>
深入浅出多线程系列之一:简单的Thread
查看>>
Server酱微信推送中的问题
查看>>
《Servlet和jsp学习指南》 笔记1
查看>>
前规则
查看>>
Lock Free (无锁并发)
查看>>
Linux的终端使用与联网
查看>>
Hibernate与Mybatis的区别
查看>>
java 中类的Class实例的获取和每个 基本数据类型的封装类 暑假第十天
查看>>
【Java】 剑指offer(8) 用两个栈实现队列
查看>>