Closed dfreiberger closed 3 months ago
Thanks for this finding, isn't it only the download count though, which causes the issue? The other fields already had null checks
Will fix it and make a patch release 1.0.8 for the null checks
In your nuspec, you can also write a real description if you want. Will uncomment this line as well. You don’t need the tags “Beckhoff TwinCAT XAE PLC” btw and in title you don’t need “MyCompany Library”
Just fyi: having this “Library” followed by the name of the library in tags is only a temporary thing. For Beckhoff’s packages we didn’t find any other way as we can’t read the library title from their compiled-library files, we only have an implementation that can read it from normal library files (which we currently don’t do, but will in the future)
After publishing a nuget package with the below nuspec file to an azure feed, and successfully connecting and logging into the feed with Twinpack, I was not able to list the packages including this one.
After troubleshooting, I found that the "Publish" field is null, which causes this section https://github.com/Zeugwerk/Twinpack/blob/0d136edcee7792de649ca0c80049246c7a0ed9f9/TwinpackShared/Protocol/Nuget/NugetServer.cs#L132 to throw a silent error and return no results.
The issue could be resolved by changing the code as follows: