Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

NuGet confusion - can you win the game

$
0
0

Env: Powershell 7 on Macos

I am trying to install grpc packages:

install-Package Grpc.Net.Client    

It hangs "forever", so I try to install

Install-Package Google.Protobuf

Then is comes up with:

Install-Package: Unable to find dependent package(s) (System.Reflection)

Ok, then I try to install:

Install-Package System.Reflection                                                                                              

Then it comes up with:

WARNING: 'System.Reflection' matched package 'System.Reflection/4.3.0' from provider: 'NuGet', source 'System.Reflection'.WARNING: 'System.Reflection' matched package 'System.Reflection/4.1.0' from provider: 'NuGet', source 'nuget.org'.Install-Package: Unable to install, multiple packages matched 'System.Reflection'. Please specify a single -Source.

Then I try:

 Install-Package System.Reflection -Source nuget.org

Then it comes up with:

The package(s) come(s) from a package source that is not marked as trusted.Are you sure you want to install software from 'nuget.org'?[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): 

Then I try:

Register-PackageSource -Name System.Reflection -Provider Nuget

Then I get:

Register-PackageSource: Package Source 'System.Reflection' exists.

Then I try....:

Well, I really dont know how this packagemanager can help me?

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>