Skip to content
New issue

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

dependency error when upload nuget contain netstandard2.1 dll #206

Open
martinmani opened this issue Jun 19, 2020 · 0 comments
Open

dependency error when upload nuget contain netstandard2.1 dll #206

martinmani opened this issue Jun 19, 2020 · 0 comments

Comments

@martinmani
Copy link

Hi there,

I am getting the below error when pushing the nuget to onprem Klondike nuget server. I use the following command to push the nuget
nuget.exe push c:\temp\nupkgs***.nupkg -Source http://onprem.net:9099 -ApiKey onpremKey -Timeout 600

just wondering what could be the issue and if any resolution?
any help would be greatly appreciated.

Note: I have uploaded Microsoft.AspNetCore.Http to the same server but still getting the error.

Error Details:
System.InvalidOperationException: '' already has a dependency defined for 'Microsoft.AspNetCore.Http'.
at NuGet.Manifest.ValidateDependencySets(IPackageMetadata metadata)
at NuGet.Manifest.Validate(Manifest manifest)
at NuGet.Manifest.ReadFrom(Stream stream, IPropertyProvider propertyProvider, Boolean validateSchema)
at NuGet.LocalPackage.ReadManifest(Stream manifestStream)
at NuGet.OptimizedZipPackage.EnsureManifest()
at NuGet.OptimizedZipPackage..ctor(String fullPackagePath)
at NuGet.Commands.PushCommand.PushPackageCore(String source, String apiKey, PackageServer packageServer, String packageToPush, TimeSpan timeout)
at NuGet.Commands.PushCommand.PushPackage(String packagePath, String source, String apiKey, TimeSpan timeout)
at NuGet.Commands.PushCommand.ExecuteCommand()
at NuGet.Commands.Command.Execute()
at NuGet.Program.Main(String[] args)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant