[英]Choice of version in Azure Artifact
In my MVC app, Azure artifact is used to manage packages, feed has 'Microsoft.ApplicationInsights' version '2.1.0' in it.在我的 MVC 应用程序中,Azure 工件用于管理包,提要中有“Microsoft.ApplicationInsights”版本“2.1.0”。 Now I need to include an upstream feed for new dev work, upstream feed has higher version of same package which is '2.20.0'.
现在我需要为新的开发工作包含一个上游提要,上游提要具有相同 package 的更高版本,即“2.20.0”。 Will the build/restore choose the version specified in package.config file irrespective of versions available?
无论可用版本如何,构建/恢复都会选择 package.config 文件中指定的版本吗?
Will the build/restore choose the version specified in package.config file irrespective of versions available?
无论可用版本如何,构建/恢复都会选择 package.config 文件中指定的版本吗?
The answer is yes.答案是肯定的。
NuGet Package Restore installs all of a project's dependencies listed in either the project file or packages.config
NuGet Package 还原安装项目文件或 packages.config 中列出的所有项目依赖项
Check the document Restore packages using Package Restore for some more details.查看文档Restore packages using Package Restore了解更多详细信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.