Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

NuGet Package does not contain a manifest

Abierto
#537 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
csharp
Área
tooling

Línea de trabajo

Reproduce the upload using Microsoft.Web.LibraryManager.Build versions 2.0.76 or 2.0.96 and the documented NuGet.Server setup, then inspect the reported PackageHelper.GetManifestStream and PackageFactory.Open stack trace. Done means identifying whether the package or NuGet.Server is responsible and restoring a successful push with the documented nuget command.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hello,

for our internal build and deploy, we have set up our own NuGet server as described in
https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server

Using NuGet.Server version 3.4.1 including latest versions of all dependencies, behind an Microsoft IIS 7 server.

To this server, I am unable to upload the package
Microsoft.Web.LibraryManager.Build
from
https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Build/
(tested with version 2.0.76 and 2.0.96).
I receive the error message described below.

Because this is the only package, where this error occurs, I believe it is an error in the package itself, not in the NuGet.Server. So I created the issue here in this project.

Best regards
Daniel

Functional impact

Unable to use the package "Microsoft.Web.LibraryManager.Build".

Minimal repro steps
  1. Download the NuGet package from the official gallery:
    https://www.nuget.org/packages/Microsoft.Web.LibraryManager.Build/

  2. Try to push it to the own server, e.g.
    nuget push microsoft.web.librarymanager.build.2.0.76.nupkg -src http://localhost

Expected result

Package should be pushed to the NuGet Server.

Actual result

Error message in client:
Return code 406 (Not Acceptable)

Error message in log file of the server:

w3wp.exe Error: 0 : System.InvalidOperationException: Package does not contain a manifest.
   bei NuGet.PackageHelper.GetManifestStream(Stream packageStream)
   bei NuGet.OptimizedZipPackage.EnsureManifest()
   bei NuGet.Server.Core.PackageFactory.Open(String fullPackagePath)
   bei NuGet.Server.V2.Controllers.NuGetODataController.<UploadPackage>d__16.MoveNext()
...
Lenguaje dominante
C#
Estrellas
486
Forks
91
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aspnet/LibraryManager

Todos los issues de aspnet/LibraryManager

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.