.net:将新的源添加到Paket配置

背景:我遇到了System.CommandLine中似乎有错误的地方,并注意到我使用的Nuget软件包(System.CommandLine.Experimental 0.3.0-alpha.19405.1)已有3个月没有更新了。我觉得我应该在提交错误报告之前尝试每晚进行构建。

然后我遵循他们的自述文件

  

如果将此供稿添加到nuget.config:https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json,则可以使用每日构建。

并且当我将Paket用于需要System.CommandLine的玩具项目(主要用于学习目的)时,我改为更新了packet.dependencies

source https://www.nuget.org/api/v2
nuget FSharp.Core
source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
nuget System.CommandLine.Experimental

但是我何时运行paket update

$ paket update
Paket version 5.224.0                          
Resolving packages for group Main:
Possible Performance degradation,could not retrieve 'https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json/Packages?semVerLevel=2.0.0&$filter=Id eq 'System.CommandLine.Experimental'',ignoring further warnings for this source
 - FSharp.Core 4.7.0
 - System.CommandLine.Experimental 0.3.0-alpha.19405.1
 - system.memory 4.5.3
 - microsoft.CSharp 4.6.0
 - System.Runtime.CompilerServices.Unsafe 4.6.0
 - System.Buffers 4.5.0
 - System.Numerics.Vectors 4.5.0
/home/nodakai/prog/CommandLineFSharp/paket.lock is already up-to-date
...snip...

我得到的只是来自Nuget 0.3.0-alpha.19405.1的3个月大的版本,这让我很难过。

我做错了什么?

FWIW,当我使用网络浏览器打开源URL https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json时,它似乎没有直接引用System.CommandLine。但是我不熟悉Nuget和/或Paket生态系统,因此不确定源数据本身是否有问题。

wqs695932489 回答:.net:将新的源添加到Paket配置

尝试在prerelease中指定paket.dependencies,即:

nuget System.CommandLine.Experimental prerelease

可用版本在这里列出:

https://dotnetfeed.blob.core.windows.net/dotnet-core/flatcontainer/system.commandline.experimental/index.json

本文链接:https://www.f2er.com/3143441.html

大家都在问