Skip to content

Dependency on Mono.Unix breaks .NET Framework 4.6.1 support #220

@fdmarc

Description

@fdmarc

I'm trying to upgrade from version 8 to 9 but I'm blocked by the new dependency on Mono.Unix.

https://www.nuget.org/packages/DogStatsD-CSharp-Client shows support for:

  • NETCoreApp 3.1
  • .NETFramework 4.6.1
  • .NETStandard 2.0
  • net6.0

Meanwhile https://www.nuget.org/packages/Mono.Unix/ supports

  • .NETCoreApp 3.1
  • .NETFramework 4.5
  • .NETStandard 2.0
  • .NETStandard 2.1
  • net6.0

I'm on .NETFramework 4.6.1, and I can't install DogStatsD 9, since .NETFramework 4.6.1 is not in the intersection of those two sets.

12:41:27|NUGET|INFOR| Attempting to resolve dependencies for package 'DogStatsD-CSharp-Client.9.0.0' with DependencyBehavior 'Lowest'
12:41:27|RIDER|ERROR| Unable to resolve dependency 'Mono.Unix'. Source(s) used: 'Flipdish', 'Flipdish.Messaging.Contracts', 'Flipdish.SREToolbox', 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
System.InvalidOperationException: Unable to resolve dependency 'Mono.Unix'. Source(s) used: 'Flipdish', 'Flipdish.Messaging.Contracts', 'Flipdish.SREToolbox', 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
 ---> NuGet.Resolver.NuGetResolverConstraintException: Unable to resolve dependency 'Mono.Unix'. Source(s) used: 'Flipdish', 'Flipdish.Messaging.Contracts', 'Flipdish.SREToolbox', 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
   at NuGet.Resolver.PackageResolver.Resolve(PackageResolverContext context, CancellationToken token)
   at NuGet.PackageManagement.NuGetPackageManager.PreviewInstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, VersionRange versionRange, CancellationToken token)
   --- End of inner exception stack trace ---
   at NuGet.PackageManagement.NuGetPackageManager.PreviewInstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, VersionRange versionRange, CancellationToken token)
   at NuGet.PackageManagement.NuGetPackageManager.PreviewInstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token)
   at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token)
   at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token)
   at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.<>c__DisplayClass7_0.<<InstallAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.InstallInternal(IProject project, String packageId, String packgeUserStr, NuGetFeedContext feedContext, Int32 nestedLevel, NuGetNotificationMode mode, NuGetOperationReporter reporter, Func`3 nativeInstall, NuGetProject givenNuGetProject)
NuGet.Resolver.NuGetResolverConstraintException: Unable to resolve dependency 'Mono.Unix'. Source(s) used: 'Flipdish', 'Flipdish.Messaging.Contracts', 'Flipdish.SREToolbox', 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
   at NuGet.Resolver.PackageResolver.Resolve(PackageResolverContext context, CancellationToken token)
   at NuGet.PackageManagement.NuGetPackageManager.PreviewInstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, VersionRange versionRange, CancellationToken token)

12:41:27|RIDER|ERROR| [Notification][Install] Install failed (project: Flipdish.API, package: DogStatsD-CSharp-Client v9.0.0)
Unable to resolve dependency 'Mono.Unix'. Source(s) used: 'Flipdish', 'Flipdish.Messaging.Contracts', 'Flipdish.SREToolbox', 'nuget.org', 'Microsoft Visual Studio Offline Packages'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions