- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Ubuntu 上使用最新的 .NET Core SDK(dotnet-sdk-2.1
版本 2.1.403),我正在尝试安装 CliWrap在一个空项目上。
(事实上,它甚至不是一个项目,它是一个包含 .fsx
文件的目录,这些文件使用 #r
F# 魔法加载依赖项。)
这是 Paket 想要做的:
$ echo 'source https://nuget.org/api/v2' > paket.dependencies
$ paket.exe add --no-install CliWrap
Paket version 5.181.1
Adding CliWrap to /tmp/test/paket.dependencies into group Main
Resolving packages for group Main:
- CliWrap 2.0.1
- Microsoft.NETCore.App 2.1.5
- Microsoft.VisualBasic 10.3.0
- System.Threading.Tasks.Dataflow 4.9.0
- System.Net.Http 4.3.3
- runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- System.Diagnostics.DiagnosticSource 4.5.1
- System.Net.Security 4.3.2
- Microsoft.CSharp 4.5.0
- System.Buffers 4.5.0
- System.ComponentModel 4.3.0
- System.ComponentModel.Annotations 4.5.0
- System.Diagnostics.Process 4.3.0
- System.Dynamic.Runtime 4.3.0
- System.Globalization.Extensions 4.3.0
- System.IO.FileSystem.Watcher 4.3.0
- System.IO.MemoryMappedFiles 4.3.0
- System.IO.UnmanagedMemoryStream 4.3.0
- System.Linq.Expressions 4.3.0
- System.Linq.Parallel 4.3.0
- System.Linq.Queryable 4.3.0
- System.Net.NameResolution 4.3.0
- System.Net.Requests 4.3.0
- System.Net.WebHeaderCollection 4.3.0
- System.Numerics.Vectors 4.5.0
- System.Reflection.DispatchProxy 4.5.1
- System.Resources.Reader 4.3.0
- System.Runtime.Loader 4.3.0
- System.Security.Cryptography.Algorithms 4.3.1
- System.Security.Cryptography.Encoding 4.3.0
- System.Security.Cryptography.Primitives 4.3.0
- System.Security.Cryptography.X509Certificates 4.3.2
- System.Threading.Tasks.Extensions 4.5.1
- System.Threading.Tasks.Parallel 4.3.0
- System.Threading.Thread 4.3.0
- System.Threading.ThreadPool 4.3.0
- runtime.native.System.Security.Cryptography 4.3.4
- Libuv 1.10.0
- NETStandard.Library 2.0.3
- Microsoft.DiaSymReader.Native 1.7.0
- System.Reflection.Metadata 1.6.0
- Microsoft.CodeAnalysis.CSharp 2.9.0
- Microsoft.CodeAnalysis.VisualBasic 2.9.0
- Microsoft.NETCore.DotNetHostPolicy 2.1.5
- Microsoft.NETCore.Runtime.CoreCLR 2.0.8
- Microsoft.NETCore.Platforms 2.1.1
- Microsoft.CodeAnalysis.Common 2.9.0
- System.Runtime.CompilerServices.Unsafe 4.5.2
- System.Reflection.TypeExtensions 4.5.1
- runtime.debian.8-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.debian.9-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.fedora.23-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.fedora.24-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.fedora.27-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.fedora.28-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.rhel.7-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography 4.3.4
- runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
- runtime.native.System.Security.Cryptography.Apple 4.3.1
- System.AppContext 4.3.0
- System.Console 4.3.1
- System.Diagnostics.Tools 4.3.0
- System.IO.Compression 4.3.0
- System.IO.Compression.ZipFile 4.3.0
- System.Net.Sockets 4.3.0
- System.Runtime.InteropServices.RuntimeInformation 4.3.0
- System.Text.RegularExpressions 4.3.0
- System.Threading.Timer 4.3.0
- System.Xml.ReaderWriter 4.3.1
- System.Xml.XDocument 4.3.0
- System.Reflection 4.3.0
- Microsoft.Win32.Registry 4.5.0
- System.IO.FileSystem.Primitives 4.3.0
- System.Text.Encoding.Extensions 4.3.0
- System.Linq 4.3.0
- System.ObjectModel 4.3.0
- System.Reflection.Emit 4.3.0
- System.Reflection.Emit.ILGeneration 4.3.0
- System.Reflection.Primitives 4.3.0
- System.Threading.Overlapped 4.3.0
- System.Reflection.Emit.Lightweight 4.3.0
- System.Reflection.Extensions 4.3.0
- runtime.native.System 4.3.1
- runtime.native.System.Net.Http 4.3.1
- System.Collections 4.3.0
- System.Diagnostics.Debug 4.3.0
- System.Diagnostics.Tracing 4.3.0
- System.Globalization 4.3.0
- System.IO 4.3.0
- System.IO.FileSystem 4.3.0
- System.Net.Primitives 4.3.0
- System.Resources.ResourceManager 4.3.0
- System.Runtime 4.3.0
- System.Runtime.Extensions 4.3.0
- System.Runtime.Handles 4.3.0
- System.Runtime.InteropServices 4.3.0
- System.Security.Cryptography.OpenSsl 4.5.0
- System.Text.Encoding 4.3.0
- System.Threading 4.3.0
- System.Threading.Tasks 4.3.0
- System.Security.Principal.Windows 4.5.1
- Microsoft.Win32.Primitives 4.3.0
- runtime.native.System.Net.Security 4.3.1
- System.Collections.Concurrent 4.3.0
- System.Security.Claims 4.3.0
- System.Security.Principal 4.3.0
- System.Runtime.Numerics 4.3.0
- System.Globalization.Calendars 4.3.0
- System.Security.Cryptography.Cng 4.5.0
- System.Security.Cryptography.Csp 4.3.0
- Microsoft.NETCore.DotNetHostResolver 2.1.5
- Microsoft.NETCore.Jit 2.0.8
- System.Collections.Immutable 1.5.0
- runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.1
- System.Diagnostics.FileVersionInfo 4.3.0
- System.Diagnostics.StackTrace 4.3.0
- System.Text.Encoding.CodePages 4.5.0
- System.ValueTuple 4.5.0
- System.Xml.XmlDocument 4.3.0
- System.Xml.XPath.XDocument 4.3.0
- runtime.native.System.IO.Compression 4.3.2
- Microsoft.CodeAnalysis.Analyzers 2.6.2
- Microsoft.NETCore.DotNetAppHost 2.1.5
- Microsoft.NETCore.Targets 2.1.0
- System.Xml.XPath 4.3.0
Locked version resolution written to /tmp/test/paket.lock
Dependencies files saved to /tmp/test/paket.dependencies
Performance:
- Resolver: 23 seconds (1 runs)
- Runtime: 2 seconds
- Blocked (retrieving package details): 12 seconds (69 times)
- Blocked (retrieving package versions): 8 seconds (9 times)
- Not Blocked (retrieving package details): 77 times
- Not Blocked (retrieving package versions): 137 times
- Average Request Time: 136 milliseconds
- Number of Requests: 166
- Runtime: 24 seconds
这太疯狂了!
使用 Nuget 手动安装它没有问题:
$ nuget.exe install CliWrap -ExcludeVersion -OutputDirectory packages
Feeds used:
https://api.nuget.org/v3/index.json
Installing package 'CliWrap' to 'packages'.
GET https://api.nuget.org/v3/registration3-gz-semver2/cliwrap/index.json
OK https://api.nuget.org/v3/registration3-gz-semver2/cliwrap/index.json 287ms
Attempting to gather dependency information for package 'CliWrap.2.0.1' with respect to project 'packages', targeting 'Any,Version=v0.0'
Gathering dependency information took 21.99 ms
Attempting to resolve dependencies for package 'CliWrap.2.0.1' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'CliWrap.2.0.1'
Resolved actions to install package 'CliWrap.2.0.1'
Retrieving package 'CliWrap 2.0.1' from 'nuget.org'.
Adding package 'CliWrap.2.0.1' to folder '/tmp/test/packages'
Added package 'CliWrap.2.0.1' to folder '/tmp/test/packages'
Successfully installed 'CliWrap 2.0.1' to packages
Executing nuget actions took 54.2 ms
这是怎么回事?
最佳答案
您可以在 paket.dependencies
文件中使用 storage: none
选项来禁用 packages
文件夹并改用全局 NuGet 缓存.
有关详细信息,请参阅 here .
关于dependencies - 为什么 Paket 尝试为 CliWrap 引入数百个依赖项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52714952/
在开始之前,我想指出的是,我已经通过Google进行了一次诚实而真实的搜索,涉及范围很广,无法找到。 我需要(对于我正在开发的项目)所有Delphi(从2007年到最新发布的版本,我不再支持任何早于2
我正在使用 RPM 将 Liquibase 数据库迁移添加到我们当前的产品部署中,并正在寻找一些有关如何实现我的预期目标的建议/技巧。 最好,RPM 能够安装在全新且 Shiny 的开发人员环境以及现
我目前正在使用一本书学习 UITableViewCell。为了在滚动时重用单元格,作者要求修改原始代码以包含一个if()。检查特定重用标识符的单元格是否存在的语句。但是,在添加 if() 之后语句,X
在 C++ 中引入 protected 访问说明符背后的基本原理是什么。举个例子会有帮助。 最佳答案 对于这类问题,我推荐 Bjarne Stroustrup 的The Design And Evol
我正在尝试使用模板参数中给定的维度和类型创建一个可重用的矩阵类。结构本身就是: template struct Matrix { T elements[N* M]; }; 当我尝试实现矩阵乘
我有一个简单的查询: $query1="SELECT * FROM wp_users WHERE now() < (last_login + INTERVAL 6 month)"; $resu
在 Ioke doc 中,ISpec 测试包含在文档中,参见 ioke.org/dok/index.html 这如何用 Ruby 的 RSpec 和 RDoc(或 SDoc)来完成?我找不到任何命令行
在客户端/服务器通信中,我看到来自客户端的 TCP ZeroWindow。 在这种情况之后预期的场景是什么(设置和发送什么标志)? 以下是我可能得到的日志。在这种情况下,服务器发送 RST 数据包来终
来自wikipedia关于 Lambda 函数和表达式的文章: users will often wish to define predicate functions near the place w
我有一个由父 POM 和几个子模块组成的 Maven 项目。它在 Intellij 中编译和运行良好(我假设它使用 javac 而不是 Maven)。 当我运行 maven clean install
所以我刚开始使用 d3.js,但我一直收到 JavaScript 错误,我不知道为什么。我刚刚用 svg 创建了三个圆圈,想用 d3 选择它们。这是我的代码:
Objective C 引入了一种称为 ARC 的技术,以将开发人员从内存管理的负担中解放出来。听起来不错,如果g++也有这个功能,我想C++开发者会很高兴的。 ARC allows you to p
在 package.json 添加 "font-awesome": "^4.7.0" 执行 npm install 在 main.js 引入
为什么 WSDL 引入 wsdl:message?和消息部分? 与在操作参数(输入、输出、故障)中直接使用 XSD 相比,他们可以带来什么优势? 它们(带有 wsdl 消息部分的 wsdl 消息)如何
I already read doc here : https://github.com/laravel/framework/pull/25997 我想知道的是使用 withCount()我们只是加载
我已经为此苦苦挣扎了一段时间,但不太明白发生了什么。我有一个包含 Sides(通常是 2 个)的 Card 实体 - 并且 Cards 和 Sides 都有一个 Stage。我正在使用 EF Code
下面的 swiftUI 代码在 iOS13 上运行良好,但是在使用 iOS14 进行测试时,我在尝试显示模式表时遇到了由强制解包选项引起的 fatal error 。据我所知,工作表不应该尝试为 se
出于个人原因,我需要记忆一下 jsp 上的一些事情 :) 我有一个简单的登录页面: Login First name:
据我了解,PYTHONCASEOK 选项允许通过不区分大小写的匹配来导入模块。但是,由于 python 中的几乎所有内容都区分大小写,为什么它必须启用此选项以实现更惰性的写入。 还有什么介绍的理由吗?
全新的早午餐(和 bower )。我通过 bower 安装了 Bootstrap,我有以下早午餐配置文件: exports.config = # See http://brunch.io/#doc
我是一名优秀的程序员,十分优秀!