博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
NuGet在2015中的使用
阅读量:6112 次
发布时间:2019-06-21

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

NuGet Package Restore  

 

以项目为例

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.

 

转载地址:http://iycka.baihongyu.com/

你可能感兴趣的文章
linux文本模式和文本替换功能
查看>>
Windows SFTP 的安装
查看>>
摄像机与绕任意轴旋转
查看>>
rsync 服务器配置过程
查看>>
预处理、const与sizeof相关面试题
查看>>
爬虫豆瓣top250项目-开发文档
查看>>
Elasticsearch增删改查
查看>>
oracle归档日志增长过快处理方法
查看>>
有趣的数学书籍
查看>>
teamviewer 卸载干净
查看>>
多线程设计模式
查看>>
解读自定义UICollectionViewLayout--感动了我自己
查看>>
SqlServer作业指定目标服务器
查看>>
UnrealEngine4.5 BluePrint初始化中遇到编译警告的解决办法
查看>>
User implements HttpSessionBindingListener
查看>>
抽象工厂方法
查看>>
ubuntu apt-get 安装 lnmp
查看>>
焊盘 往同一个方向增加 固定的长度方法 总结
查看>>
eclipse的maven、Scala环境搭建
查看>>
架构师之路(一)- 什么是软件架构
查看>>