zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.95k stars 744 forks source link

Migrating the library project to .NET Core 3.0. Microsoft.NETCore.App Nuget package installation error #795

Closed advancedwebdeveloper closed 4 years ago

advancedwebdeveloper commented 5 years ago

Environment

NetMQ Version: 4
Operating System: Windows 10
.NET Version: 4.7.2, 3.0; v2.0.50727

v4.0.30319

Expected behaviour

Actual behaviour

Install-Package : The operation failed as details for project NetMQ.Tests could not be loaded.
At line:1 char:1
+ Install-Package Microsoft.NETCore.App -Version 3.0.0-preview-27122-01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackage 
   Command

Time Elapsed: 00:00:10.1064607

Restoring packages for C:\Users\Администратор\Desktop\netmq-master\src\Performance\local_lat\local_lat.csproj...
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/index.json 468ms
  GET https://az774065.vo.msecnd.net/artifacts/xunit/nuget/v3/flatcontainer/microsoft.netcore.app/index.json
  GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/3.0.0-preview-27122-01/microsoft.netcore.app.3.0.0-preview-27122-01.nupkg
  NotFound https://az774065.vo.msecnd.net/artifacts/xunit/nuget/v3/flatcontainer/microsoft.netcore.app/index.json 304ms
  OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/3.0.0-preview-27122-01/microsoft.netcore.app.3.0.0-preview-27122-01.nupkg 472ms
Installing Microsoft.NETCore.App 3.0.0-preview-27122-01.
Install-Package : NU1202: Package Microsoft.NETCore.App 3.0.0-preview-27122-01 is not compatible with netcoreapp1.0 (
.NETCoreApp,Version=v1.0). Package Microsoft.NETCore.App 3.0.0-preview-27122-01 supports: netcoreapp3.0 (.NETCoreApp,
Version=v3.0)
At line:1 char:1
+ Install-Package Microsoft.NETCore.App -Version 3.0.0-preview-27122-01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackage 
   Command

Install-Package : Package restore failed. Rolling back package changes for 'local_lat'.
At line:1 char:1
+ Install-Package Microsoft.NETCore.App -Version 3.0.0-preview-27122-01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackage 
   Command

Time Elapsed: 00:01:10.7583173

Steps to reproduce the behaviour

PM> Install-Package Microsoft.NETCore.App -Version 3.0.0-preview-27122-01

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.