We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cake Frosting
5.0.0
Windows
x64
No response
Following code in a cake frosting task produces null values output:
var dotNetPackageSearchItems = context.DotNetSearchPackage("Refit.Newtonsoft.Json", new DotNetPackageSearchSettings { ExactMatch = true } ); foreach (var dotNetPackageSearchItem in dotNetPackageSearchItems) { context.Information(dotNetPackageSearchItem.Version); }
Available package versions list should be retrieved.
The text was updated successfully, but these errors were encountered:
A probable source of error is that package listing and versions listing by underlying dotnet package call produces different output structures:
dotnet package
dotnet package search Refit.Newtonsoft.Json --format json
{ "id": "Refit.Newtonsoft.Json", "latestVersion": "8.0.0", "totalDownloads": 20270410, "owners": "glennawatson, reactiveui" },
dotnet package search Refit.Newtonsoft.Json --format json --exact-match
{ "id": "Refit.Newtonsoft.Json", "version": "6.0.1" },
But in both cases Cake.Common.Tools.DotNet.Package.Search.DotNetPackageSearcher.Package is used for json deserialization.
Cake.Common.Tools.DotNet.Package.Search.DotNetPackageSearcher.Package
Sorry, something went wrong.
No branches or pull requests
Prerequisites
Cake runner
Cake Frosting
Cake version
5.0.0
Operating system
Windows
Operating system architecture
x64
CI Server
No response
What are you seeing?
Following code in a cake frosting task produces null values output:
What is expected?
Available package versions list should be retrieved.
Steps to Reproduce
Output log
No response
The text was updated successfully, but these errors were encountered: