Unable to push nuget packages with dependencies (gitlab.com)
As of today, our nuget package pushes (dotnet nuget push ...) for packages that have dependencies listed in their .nuspec file are all failing:
Push fails with 400 Bad Request:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>xxx</id>
<version>0.0.1-dev.1</version>
<authors>xxx</authors>
<description>xxx</description>
<dependencies>
<dependency id="AWSSDK.SQS" version="3.0.0" />
</dependencies>
</metadata>
</package>
This is the response body that gets returned:
{
"message": "nuspec file not found"
}
Push succeeds:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>xxx</id>
<version>0.0.1-dev.1</version>
<authors>xxx</authors>
<description>xxx</description>
<dependencies>
</dependencies>
</metadata>
</package>
This is a big blocker for us, we have effectively lost the ability to publish most of our internal libraries.