NuGet在2015中的使用
NuGet Package Restore https://docs.nuget.org/Consume/Package-Restore
以https://github.com/andburn/hdt-plugin-statsconverter项目为例
1.在Tools里面

2.选择install

3.

Attempting to gather dependencies information for package 'Microsoft.Owin.Security.3.0.1' with respect to project 'StatsConverter', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'Microsoft.Owin.Security.3.0.1' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Microsoft.Owin.Security.3.0.1'
Resolved actions to install package 'Microsoft.Owin.Security.3.0.1'
Attempting to gather dependencies information for package 'Microsoft.Owin.Security.3.0.1' with respect to project 'StatsConverterTest', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'Microsoft.Owin.Security.3.0.1' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Microsoft.Owin.Security.3.0.1'
Resolved actions to install package 'Microsoft.Owin.Security.3.0.1'
For adding package 'Owin.1.0.0' to project 'StatsConverter' that targets 'net45'.
For adding package 'Owin.1.0.0' to project 'StatsConverter' that targets 'net45'.
Adding package 'Owin.1.0.0' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added package 'Owin.1.0.0' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Owin' to project 'StatsConverter'.
Added package 'Owin.1.0.0' to 'packages.config'
Successfully installed 'Owin 1.0.0' to StatsConverter
For adding package 'Microsoft.Owin.3.0.1' to project 'StatsConverter' that targets 'net45'.
For adding package 'Microsoft.Owin.3.0.1' to project 'StatsConverter' that targets 'net45'.
Adding package 'Microsoft.Owin.3.0.1' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added package 'Microsoft.Owin.3.0.1' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Microsoft.Owin' to project 'StatsConverter'.
Added package 'Microsoft.Owin.3.0.1' to 'packages.config'
Successfully installed 'Microsoft.Owin 3.0.1' to StatsConverter
For adding package 'Microsoft.Owin.Security.3.0.1' to project 'StatsConverter' that targets 'net45'.
For adding package 'Microsoft.Owin.Security.3.0.1' to project 'StatsConverter' that targets 'net45'.
Adding package 'Microsoft.Owin.Security.3.0.1' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added package 'Microsoft.Owin.Security.3.0.1' to folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Microsoft.Owin.Security' to project 'StatsConverter'.
Added package 'Microsoft.Owin.Security.3.0.1' to 'packages.config'
Successfully installed 'Microsoft.Owin.Security 3.0.1' to StatsConverter
For adding package 'Owin.1.0.0' to project 'StatsConverterTest' that targets 'net45'.
For adding package 'Owin.1.0.0' to project 'StatsConverterTest' that targets 'net45'.
Package 'Owin.1.0.0' already exists in folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Owin' to project 'StatsConverterTest'.
Added package 'Owin.1.0.0' to 'packages.config'
Added file 'packages.config' to project 'StatsConverterTest'.
Successfully installed 'Owin 1.0.0' to StatsConverterTest
For adding package 'Microsoft.Owin.3.0.1' to project 'StatsConverterTest' that targets 'net45'.
For adding package 'Microsoft.Owin.3.0.1' to project 'StatsConverterTest' that targets 'net45'.
Package 'Microsoft.Owin.3.0.1' already exists in folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Microsoft.Owin' to project 'StatsConverterTest'.
Added package 'Microsoft.Owin.3.0.1' to 'packages.config'
Successfully installed 'Microsoft.Owin 3.0.1' to StatsConverterTest
For adding package 'Microsoft.Owin.Security.3.0.1' to project 'StatsConverterTest' that targets 'net45'.
For adding package 'Microsoft.Owin.Security.3.0.1' to project 'StatsConverterTest' that targets 'net45'.
Package 'Microsoft.Owin.Security.3.0.1' already exists in folder 'D:\SourceCode\GitHub\hdt-plugin-statsconverter\StatsConverter\packages'
Added reference 'Microsoft.Owin.Security' to project 'StatsConverterTest'.
Added package 'Microsoft.Owin.Security.3.0.1' to 'packages.config'
Successfully installed 'Microsoft.Owin.Security 3.0.1' to StatsConverterTest
========== Finished ==========
I have updated the solution,and use Tools-->NuGet Package Manager-->Manage NuGet Packages for solution... in VS2015
hdt-plugin-statsconverter/StatsConverter/packages (master)
$ ls
CsvHelper.2.13.0.0 MahApps.Metro.1.1.2.0 Newtonsoft.Json.6.0.8
NuGet download the references automatically,reference path in project is not correct.
NuGet在2015中的使用的更多相关文章
- ASP.NET 5系列教程 (五):在Visual Studio 2015中使用Grunt、Bower开发Web程序
基于Visual Studio 2015,你可以: 方便的管理前端包,如jQuery, Bootstrap, 或Angular. 自动运行任务,如LESS.JavaScript压缩.JSLint.Ja ...
- [.net 面向对象程序设计进阶] (27) 团队开发利器(六)分布式版本控制系统Git——在Visual Studio 2015中使用Git
[.net 面向对象程序设计进阶] (26) 团队开发利器(六)分布式版本控制系统Git——在Visual Studio 2015中使用Git 本篇导读: 接上两篇,继续Git之旅 分布式版本控制系统 ...
- (转载)在Visual Studio 2015中使用Git
原文:http://blog.csdn.net/damon316/article/details/51885802 1. VS2015在对Git的支持 VS2015是微软IDE集成开发环境的重量级升级 ...
- 在VS 2015中边调试边分析性能
(此文章同时发表在本人微信公众号"dotNET每日精华文章",欢迎右边二维码来关注.) 对代码进行性能分析,之前往往是一种独立的Profiling过程,现在在VS 2015中可以结 ...
- GitHub在Visual Studio 2015中获得TFS/VSO同等地位
(此文章同时发表在本人微信公众号"dotNET每日精华文章",欢迎右边二维码来关注.) 在Visual Studio 2015中微软为GitHub提供了扩展插件,从而让GitHub ...
- CODESOFT 2015中的二维码该怎样生成
由于二维条码具有储存量大.保密性高.追踪性高.抗损性强.备援性大.成本便宜等特性,其应用 渐趋广泛,因此二维码的制作对于CODESOFT条码设计软件的用户来讲可谓司空见惯.我们最常见的二维码要数QR码 ...
- Visual Studio 2015中的常用调试技巧分享
.NET 技术交流群:337901356 欢迎您的加入! 为什么要学习调试? 调试(Debug)是作为一个程序员必须要学会的东西,学会调试可以极大的提高开发效率,排错时间,很多人不喜欢调试,但我认为这 ...
- 在2015中使用V12版本的ReportView控件,会导致winform窗体不能正常打开
在2015中使用V12版本的ReportView控件,会导致winform窗体不能正常打开,使用V10版本没问题,但2015中默认使用的就是V12版本,所以需要避免使用V12版本
- Grunt和Gulp构建工具在Visual Studio 2015中的高效的应用
Grunt和Gulp构建工具在Visual Studio 2015中的高效的应用 Grunt和Gulp是Javascript世界里的用来做自动压缩.Typescript编译.代码质量lint工具.cs ...
随机推荐
- audio 设置 currentTime 失效 的解决办法
当服务端返回的 音频文件标示 no-cache 的时候,会引起currentTime 失败. 改掉server 返回头信息.解除禁止缓存,一切ok.
- linux第四周作业
一.用户态内核态与中断 1.库函数把内核调用封装起来. 2.区分内核态和用户态是为了让系统更稳定.Linux里吧用户态定位3级,把内核态定位0级. 3.中断处理就是从用户态进入内核态的主要方法,系统调 ...
- 环信ipv6适配
环信2.2.5及之后版本才适配了ipv6.可以自己搭配个ipv6环境,在ipv6环境下2.2.5以下版本无法登录.把整个sdk换成2.2.5版本项目需要改动的地方实在太多. 那么就部分换一下,适配ip ...
- VS连接远程数据库,连接sqlserver2008,显示“基础提供程序在 Open 上失败”
今天安装完成VS2012后,在调试2010的程序的时候,出现“基础提供程序在 Open 上失败”,于是用vs连接远程sql2008,才发现问题是:“已成功与服务器连接,但是登录前的握手期间发生错误”, ...
- HTTP - 内容编码
HTTP 应用程序有时在发送之前需要对内容进行编码.例如,在把很大的 HTML 文档发送给通过慢速连接上来的客户端之前,服务器可能就会对它进行压缩,这样有助于减少传输实体的时间. 内容编码过程 内容编 ...
- UML: CIM & PIM
CIM-1:定义业务流程 定义及分析业务流程(Business Process)是为了尽快理清系统范围,以便估算开发成本及时间,可不是为了要改造业务流程.系统分析员千万别误解了此步骤的目的.所以,系统 ...
- sysconf和pathconf使用
问题描述: 查看系统运行时的限制值 问题解决: 执行效果: 源代码:
- vi之跳到指定行
vi里怎样跳转到某一指定行 输入 :行号 :$跳到最后一行 gg跳到第一行.
- nenu contest2
http://vjudge.net/vjudge/contest/view.action?cid=54562#overview H B. Polygons http://codeforces.com ...
- 有关javascript中的JSON.parse和JSON.stringify的使用一二
有没有想过,当我们的大后台只是扮演一个数据库的角色,json在前后台的数据交换中扮演极其重要的角色时,作为依托node的前端开发,其实相当多的时间都是在处理数据,准确地说就是在处理逻辑和数据(这周实习 ...