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 ...
随机推荐
- str_replace使用array替换
<?php //替换采集等通过url参数传值 function admin_ff_url_repalce($xmlurl,$order='asc'){ if($order=='asc'){ re ...
- Excel快捷键
Ctrl 组合快捷键 关键字 说明 Ctrl+PgDn 在工作表选项卡之间从左至右进行切换. Ctrl+PgUp 在工作表选项卡之间从右至左进行切换. Ctrl+Shift+& 将轮廓边框应用 ...
- 微软职位内部推荐-Sr SDE for Win Apps Ecosystem
微软近期Open的职位: Job posting title: Senior Software Design Engineer Location: China, Beijing Level: 63 D ...
- http 4中 cache 头
// head['Cache-Control']='max-age=31536000'; // head['Expires']=new Date((new Date().getTime()+99999 ...
- 为什么V8引擎这么快?(转载)
转载请注明出处:http://blog.csdn.net/horkychen Google研发的V8 JavaScript引擎性能优异.我们请熟悉内部程序实现的作者依源代码来看看V8是如何加速的. 作 ...
- 20145120 《Java程序设计》第3周学习总结
20145120 <Java程序设计>第3周学习总结 教材学习内容总结 基本类型与类类型的概念 在java里使用数组和字符串 封装的概念 在java定义函数 重载的概念 static的概念 ...
- ifame 跨域高度自适应
代码如下:var iframeids = ['memberIndexIframe','inquiryCenterIframe','everychinaBbsIframe']; var iframehi ...
- MVC的Ajax的异步请求
MVC的Ajax的异步请求 在这里小写一下MVC的异步请求的一点小总结. 个人认为是有两种的,一种就是跟webform一样的,依旧是使用jQuery的$.get()方法,只是请求地址不同,webfor ...
- IMP不到指定的表空间
==============================================================================只导dmp文件中的几个表数据,解决导入时ta ...
- leetcode Triangle及其思考
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent n ...