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

Error Installing Package Visual Studio #388

Closed
stevenmcneese opened this issue Jan 31, 2025 · 3 comments
Closed

Error Installing Package Visual Studio #388

stevenmcneese opened this issue Jan 31, 2025 · 3 comments
Assignees
Labels
question Someone is asking a question

Comments

@stevenmcneese
Copy link

Trying to install via package manager and getting the following error:

Part URI is not valid per rules defined in the Open Packaging Conventions specification.

Never seen this issue before. Any ideas?

@Jericho Jericho self-assigned this Feb 1, 2025
@Jericho Jericho added the question Someone is asking a question label Feb 1, 2025
@Jericho
Copy link
Owner

Jericho commented Feb 1, 2025

I have never heard of this problem either. Were you able to determine a specific set of steps to recreate this problem?

In an effort to recreate the problem, I created a new C# project based on the console template and added a reference to ZoomNet in Visual Studio's package manager using the following command: Install-Package ZoomNet -Version 0.87.0. The reference was added successfully as you can see below:

Click to view the log from Package Manager Console
PM> Install-Package ZoomNet -Version 0.87.0
Restoring packages for D:\_build\console\console.csproj...
  GET https://api.nuget.org/v3-flatcontainer/zoomnet/index.json
  OK https://api.nuget.org/v3-flatcontainer/zoomnet/index.json 47ms
  GET https://api.nuget.org/v3-flatcontainer/zoomnet/0.87.0/zoomnet.0.87.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/zoomnet/0.87.0/zoomnet.0.87.0.nupkg 160ms
  GET https://f.feedz.io/jericho/jericho/nuget/v3/packages/zoomnet/index.json
  OK https://f.feedz.io/jericho/jericho/nuget/v3/packages/zoomnet/index.json 131ms
Installed ZoomNet 0.87.0 from https://api.nuget.org/v3/index.json to C:\Users\desau\.nuget\packages\zoomnet\0.87.0 with content hash iXgXsMg3KvtLMWLlUOno2gyOffuYEk5NpQuJ3SLe4u0YAa064Y6daAlLxEORphNro5TaQzedmXabXnAoC3GReA==.
  GET https://api.nuget.org/v3/vulnerabilities/index.json
  OK https://api.nuget.org/v3/vulnerabilities/index.json 48ms
  GET https://api.nuget.org/v3-vulnerabilities/2025.01.31.10.13.04/vulnerability.base.json
  GET https://api.nuget.org/v3-vulnerabilities/2025.01.31.10.13.04/2025.01.31.16.13.05/vulnerability.update.json
  OK https://api.nuget.org/v3-vulnerabilities/2025.01.31.10.13.04/vulnerability.base.json 50ms
  OK https://api.nuget.org/v3-vulnerabilities/2025.01.31.10.13.04/2025.01.31.16.13.05/vulnerability.update.json 121ms
Installing NuGet package ZoomNet 0.87.0.
Generating MSBuild file D:\_build\console\obj\console.csproj.nuget.g.props.
Generating MSBuild file D:\_build\console\obj\console.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\_build\console\obj\project.assets.json
Restored D:\_build\console\console.csproj (in 2.3 sec).
Successfully installed 'HttpMultipartParser 8.4.0' to console
Successfully installed 'jose-jwt 5.1.0' to console
Successfully installed 'Microsoft.AspNet.WebApi.Client 6.0.0' to console
Successfully installed 'Microsoft.CSharp 4.7.0' to console
Successfully installed 'Microsoft.Extensions.DependencyInjection 8.0.0' to console
Successfully installed 'Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0' to console
Successfully installed 'Microsoft.Extensions.Logging 8.0.0' to console
Successfully installed 'Microsoft.Extensions.Logging.Abstractions 8.0.0' to console
Successfully installed 'Microsoft.Extensions.Options 8.0.0' to console
Successfully installed 'Microsoft.Extensions.Primitives 8.0.0' to console
Successfully installed 'Microsoft.IO.RecyclableMemoryStream 3.0.0' to console
Successfully installed 'Microsoft.NETCore.Platforms 1.1.0' to console
Successfully installed 'Microsoft.NETCore.Targets 1.1.0' to console
Successfully installed 'Newtonsoft.Json 13.0.1' to console
Successfully installed 'Newtonsoft.Json.Bson 1.0.2' to console
Successfully installed 'Pathoschild.Http.FluentClient 4.4.1' to console
Successfully installed 'runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.native.System.Security.Cryptography.Apple 4.3.1' to console
Successfully installed 'runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.1' to console
Successfully installed 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.2' to console
Successfully installed 'System.Buffers 4.5.1' to console
Successfully installed 'System.Collections 4.3.0' to console
Successfully installed 'System.Collections.Concurrent 4.3.0' to console
Successfully installed 'System.Diagnostics.Debug 4.3.0' to console
Successfully installed 'System.Diagnostics.Tracing 4.3.0' to console
Successfully installed 'System.Globalization 4.3.0' to console
Successfully installed 'System.IO 4.3.0' to console
Successfully installed 'System.Linq 4.3.0' to console
Successfully installed 'System.Memory 4.5.5' to console
Successfully installed 'System.Reactive 5.0.0' to console
Successfully installed 'System.Reflection 4.3.0' to console
Successfully installed 'System.Reflection.Primitives 4.3.0' to console
Successfully installed 'System.Resources.ResourceManager 4.3.0' to console
Successfully installed 'System.Runtime 4.3.0' to console
Successfully installed 'System.Runtime.Extensions 4.3.0' to console
Successfully installed 'System.Runtime.Handles 4.3.0' to console
Successfully installed 'System.Runtime.InteropServices 4.3.0' to console
Successfully installed 'System.Runtime.Numerics 4.3.0' to console
Successfully installed 'System.Security.Cryptography.Algorithms 4.3.1' to console
Successfully installed 'System.Security.Cryptography.Cng 4.7.0' to console
Successfully installed 'System.Security.Cryptography.Encoding 4.3.0' to console
Successfully installed 'System.Security.Cryptography.Primitives 4.3.0' to console
Successfully installed 'System.Text.Encoding 4.3.0' to console
Successfully installed 'System.Text.Json 8.0.5' to console
Successfully installed 'System.Threading 4.3.0' to console
Successfully installed 'System.Threading.Channels 5.0.0' to console
Successfully installed 'System.Threading.Tasks 4.3.0' to console
Successfully installed 'System.Threading.Tasks.Extensions 4.5.4' to console
Successfully installed 'System.ValueTuple 4.5.0' to console
Successfully installed 'Websocket.Client 4.6.1' to console
Successfully installed 'ZoomNet 0.87.0' to console
Executing nuget actions took 331 ms
Time Elapsed: 00:00:02.8810774
PM> 

This leads me to believe that the package itself is probably not the culprit. There must be some other factor in your environment that leads to this error.

@Jericho
Copy link
Owner

Jericho commented Feb 11, 2025

@stevenmcneese are you able to provide additional info and/or repro steps so we can continue investigating or should I close this issue?

@stevenmcneese
Copy link
Author

stevenmcneese commented Feb 11, 2025 via email

@Jericho Jericho closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone is asking a question
Projects
None yet
Development

No branches or pull requests

2 participants