kkwpsv / lsjutil

My utility
Do What The F*ck You Want To Public License
40 stars 5 forks source link

install package error on .net 5 #5

Closed rqx110 closed 3 years ago

rqx110 commented 3 years ago

error info:

PM> install-package Lsj.Util.Win32
Restoring packages for E:\repos\xxx.csproj...
  GET https://api.nuget.org/v3-flatcontainer/lsj.util.il/index.json
  GET https://api.nuget.org/v3-flatcontainer/lsj.util.il/index.json
  OK https://api.nuget.org/v3-flatcontainer/lsj.util.il/index.json 596ms
  OK https://api.nuget.org/v3-flatcontainer/lsj.util.il/index.json 7098ms
install-package : NU1102: Unable to find package Lsj.Util.IL with version (>= 1.0.6)
  - Found 6 version(s) in nuget.org [ Nearest version: 1.0.5 ]
  - Found 6 version(s) in cnblogs [ Nearest version: 1.0.5 ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages
At line:1 char:1
+ install-package Lsj.Util.Win32
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

install-package : Package restore failed. Rolling back package changes for 'xxx'.
At line:1 char:1
+ install-package Lsj.Util.Win32
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Time Elapsed: 00:00:07.9082267

Unable to find package Lsj.Util.IL with version (>= 1.0.6)

kkwpsv commented 3 years ago

My nuget key for ci is expired, so that package was failed to push to nuget.org. I repushed it.