PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

PowerShellGet is using too-new version of NuGet.exe

Open splatteredbits opened this issue 2 months ago • 4 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest released version
  • [x] Search the existing issues.

Steps to reproduce

I have builds that run on .NET 4.6.2. They started failing because the version of NuGet.exe downloaded by PowerShellGet 2.2.5 is now NuGet 7.0.0, which no longer works on .NET Framework 4.6.2. Please fix the version of NuGet at https://aka.ms/psget-nugetexe back to a version that runs on .NET 4.6.2. The version at https://aka.ms/psget-nugetexe should be pinned so that old versions of PowerShellGet continue to work.

Steps to reproduce:

  1. On a server with .NET 4.6.2, install PowerShellGet 2.2.5.
  2. Do something with PowerShellGet to get it to download NuGet.exe. In my case, I'm publishing a PowerShell module to a .nupkg, so I register a PowerShell repository that points to a directory, then call Publish-Module to publich a module to that directory.
  3. The Publish-Module command above will fail or hang. NuGet.exe is now available. Running C:\ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe /? will fail.

OR

  1. On a server with .NET 4.6.2, download https://aka.ms/psget-nugetexe.
  2. Run NuGet.exe /? using the downloaded version of NuGet. Note it fails with an error.

I'm not sure where else to file this issue. I'm not sure what is publishing NuGet.exe to https://aka.ms/psget-nugetexe, but that process needs to get updated to no longer publish new versions, please.

Expected behavior

I expect https://aka.ms/psget-nugetexe to continue to work with old versions of PowerShellGet.

Actual behavior

The version of NuGet.exe https://aka.ms/psget-nugetexe fails on servers running .NET 4.6.2.

Error details

> C:\ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe /?

C:\ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe : Could not load file or assembly 'netstandard, 
Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find 
the file specified.
At line:1 char:1
+ C:\ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\NuGet.exe / ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Could not load ...file specified.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Cultur
e=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Versi
on=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one 
of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Co
uld not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one 
of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=
neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies.
 The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or
 assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. 
The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyTo
ken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot f
ind the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstanda
rd, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot 
find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specifi
ed.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0,
 Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its depe
ndencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not loa
d file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, Pu
blicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system
 cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly '
netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system 
cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13f
fcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the fil
e specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version
=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of
 its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Coul
d not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Cu
lture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dep
endencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencies. The system cannot find the file specified.
  Could no
t load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of 
its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Cultur
e=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its depende
ncies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencies. The system cannot find the file specified.
  Could not lo
ad file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=ne
utral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencie
s. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencies. The system cannot find the file specified.
  Could not load f
ile or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutra
l, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencies. T
he system cannot find the file specified.
  Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 
or one of its dependencies. The system cannot find the file specified.
  Could not load file 
or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKey
Token=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot
 find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstan
dard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot 
find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd
51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file speci
fied.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.
0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its de
pendencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not l
oad file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The syst
em cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly
 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The 
system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b1
3ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the f
ile specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Versi
on=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one 
of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Co
uld not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one 
of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=
neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies.
 The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or
 assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. 
The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyTo
ken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot f
ind the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstanda
rd, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot 
find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specifi
ed.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0,
 Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its depe
ndencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not loa
d file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, Pu
blicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system
 cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly '
netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system 
cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13f
fcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the fil
e specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version
=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of
 its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Coul
d not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of 
its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=ne
utral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. T
he system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or a
ssembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. 
The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToke
n=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot fin
d the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard
, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot 
find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' 
or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified
.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, C
ulture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its depend
encies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load 
file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, Publ
icKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system c
annot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'ne
tstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system 
cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffc
d2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2
.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of i
ts dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could 
not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of 
its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neut
ral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The
 system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or ass
embly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The 
system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find 
the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, 
Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find 
the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or
 one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.

  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Cul
ture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependen
cies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load fi
le or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, Public
KeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system can
not find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'nets
tandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system 
cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2
ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file sp
ecified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0
.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its
 dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could no
t load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutra
l, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The s
ystem cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assem
bly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The 
system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc
7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find th
e file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Ve
rsion=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find 
the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or o
ne of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
 
 Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Cultu
re=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependenci
es. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file
 or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKe
yToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system canno
t find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netsta
ndard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system 
cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2dd
d51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file spec
ified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0
.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file 
specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its d
ependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not 
load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its 
dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral,
 PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The sys
tem cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembl
y 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The 
system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b
13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Vers
ion=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the 
file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one
 of its dependencies. The system cannot find the file specified.
  Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or 
one of its dependencies. The system cannot find the file specified.
  C
ould not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one 
of its dependencies. The system cannot find the file specified.

System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
   --- End of inner exception stack trace ---
   at NuGet.CommandLine.Program.Initialize(IFileSystem fileSystem, IConsole console)
   at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args, IEnvironmentVariableReader environmentVariableReader)
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #1) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #2) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #3) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #4) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #5) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #6) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #7) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #8) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #9) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #10) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #11) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #12) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #13) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #14) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #15) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #16) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #17) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #18) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #19) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #20) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

---> (Inner Exception #21) System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
<---

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.14409.1018
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1018
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Visuals

No response

splatteredbits avatar Nov 12 '25 00:11 splatteredbits

@splatteredbits PowerShellGet is in maintain mode and not easy to make changes to, are you able to use PSResourceGet?

SydneyhSmith avatar Nov 18 '25 19:11 SydneyhSmith

Unfortunately, no. Do you know where I can go to request that someone revert the version of NuGet that was uploaded?

splatteredbits avatar Nov 18 '25 19:11 splatteredbits

@splatteredbits you don't mention what version of a server os you are hitting this on which would help the team in being able to spin up an environment that they could test this on, though on looking up the build version from your PSVersionTable this shows me as Windows 10 LTSC 2021 not any of the Windows Server OS'es which is somewhat confusing.

Also it would be beneficial to understand why you are unable to use PSResourceGet in your environment as PowerShellGet is essentially deprecated and should be avoided where possible. If I had my way it would be forcefully removed as part of a future update and PSResourceGet replace it once PSResourceGet is up to feature parity with PowerShellGet.

If you can share that publicly here, that helps us all understand better, and if not then privately to the team so that they can better understand how best to help resolve this though I expect I'm not sure what is publishing NuGet.exe to https://aka.ms/psget-nugetexe, but that process needs to get updated to no longer publish new versions, please. is very unlikely to be feasible but that there may be way to pin to a certain version for certain Windows Builds, like as mentioned yours seems to have been from a non-server os build.

Also it used to be that PowerShellGet used the Nuget Provider Dll and not Nuget.exe and I don't know when that changed in the history of PowerShellGet's vast updates since it was added in Windows 10 as 1.0.0.1 and that bundled version updated inbetween Windows Insider Builds, and annoyingly this "version" is still bundled with Windows today and is fundamentally broken from the expectation that a version should always be exactly the same for years to come. A big reason why I want to see PowerShellGet be sunset and actually removed from both Windows & PowerShell as we currently have to ship it in PowerShell even though we really really shouldn't.

As PowerShellGet's 2.2.5 release notes state

### 2.2.5
- Security patch for code injection bug

and I nor you can't easily see a diff between this and previous releases which should be easily available in the PowerShellGetv2 repo because we have the tooling there via git tags. That & tbh I don't really have the time or patience to do a local diff between the versions, other than to say that on a quick look via the gallery at 2.2.4.1 it looks to have been a bad release with additional files included that weren't necessary, and 2.2.4 just has no release notes either so again we can't tell without doing a local diff between it and the version before it what changed. Unless maybe this could be done using a task or script like via a GitHub Workflow or maybe be tasked to one of the many Copilot's or AssistiveTechBuddies that are now out there for us to use.

All I can really suggest after all this on looking is either rollback to a previous PowerShellGet version that doesn't use nuget.exe at all, override the version of nuget.exe that it downloads yourself by repackaging PowerShellGet 2.2.5 with a different download link for nuget.exe or performing a post download replace action of nuget.exe with a suitable version which should work but either of them routes is a faff and a half to do so in large environments & may still cause headaches. Or more sensibly start looking at the feasibility of your organisation to actually migrate to PSResourceGet because PowerShellGet & PackageManagement unfortunately are some of those bits of code where the idea behind it was sound, but the execution of it was done in a vastly over complex manner and this has given us so so much pain over the years & I'll be very happy to see them both replaced and no longer in use. I know I won't be the only one either as the code of both modules are incredibly painful to work with let alone actively debug them, even if they do show some good signs of defensive coding practices, many of those from the 5.1 era have been made simpler in 7.x releases and likely will become even simpler in future 7.x.x releases too.

Hope that helps @splatteredbits especially the suggestion around overriding nuget.exe though that I don't think is a longterm viable suggestion due to the release notes for 2.2.5 though this is why we prefer dependencies like this either being shipped in the module or being marked as an external dependency in the manifest so that they can be downloaded as needed.

kilasuit avatar Dec 08 '25 01:12 kilasuit

Thanks we probably do need to update https://aka.ms/psget-nugetexe to a pinned version

SydneyhSmith avatar Dec 15 '25 19:12 SydneyhSmith