-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
When trying to upload a package "Microsoft.EntityFrameworkCore.Analyzers" to BaGet server using command
nuget.exe push Microsoft.EntityFrameworkCore.Analyzers.nupkg -ApiKey <apiKey> -Source <source> -SkipDuplicate
, the server returns a 402 error. The server logs say:
fail: BaGet.Core.PackageIndexingService[0]
Uploaded package is invalid
System.IO.FileNotFoundException: docs\PACKAGE.md
at Nuget.Packaging.ZipArchiveExtensions.LookupEntry(ZipArchive zipArchive, String path)
at Nuget.Packaging.PackageArchiveReader.GetStream(String path)
at Nuget.Packaging.PackageReaderBase.GetStreamAsync(String path, CancellationToken cancellationToken)
at BaGet.Core.PackageArchiveReaderExtensions.GetReadmeAsync(PackageArchiveReader package, CancellationToken cancellationToken) in /src/BaGet.Core/Extensions/PackageArchiveReaderExtensions.cs: line 33
at BaGet.Core.PackageIndexingService.IndexAsync(Stream packageStream, CancellationToken cancellationToken) in /src/BaGet.Core/Indexing/PackageIndexingService.cs: line 163
[Microsoft.EntityFrameworkCore.Analyzers version 8.0.20]