rocketmq-clients icon indicating copy to clipboard operation
rocketmq-clients copied to clipboard

[Bug] 5.2.0-rc1 has dependencies on .NET Framework package

Open lillo42 opened this issue 6 months ago • 9 comments

Before Creating the Bug Report

  • [x] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [x] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Programming Language of the Client

C#

Runtime Platform Environment

All OS, but it's impacting only non-Windows OS

RocketMQ Version of the Client/Server

C# 5.2.0-rc1

Run or Compiler Version

No response

Describe the Bug

The current C# 5.2.0-rc1 has a depending on a package that use .NET Framework, making it difficult to run it non-Windows machines and generating warning during restore process

Steps to Reproduce

Create a new project and add the C# 5.2.0-rc1 version on non-Windows machines

What Did You Expect to See?

The build should work without any error/warning

What Did You See Instead?

Error could not restore the ParallelExtensionsExtras due the .NET Framework dependency

Additional Context

The issue is related with ParallelExtensionsExtras package, it has .NET Framework dependency, we should remove that dependency

lillo42 avatar Jun 16 '25 08:06 lillo42

This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Jul 17 '25 00:07 github-actions[bot]

Waiting for the PR been approved

lillo42 avatar Jul 17 '25 21:07 lillo42

This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Aug 17 '25 00:08 github-actions[bot]

Waiting for the PR been approved

lillo42 avatar Aug 20 '25 06:08 lillo42

This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Sep 21 '25 00:09 github-actions[bot]

Waiting for the PR been approved

lillo42 avatar Sep 21 '25 08:09 lillo42

This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Oct 23 '25 00:10 github-actions[bot]

Waiting for the PR been approved

lillo42 avatar Oct 24 '25 07:10 lillo42

Hi @lillo42,

If you need an immediate solution, you can try my enhanced version:

YMJake.RocketMQ.Client - Supports .NET 8/10 with all RocketMQ 5.x features

  • NuGet: https://www.nuget.org/packages/YMJake.RocketMQ.Client/
  • Based on official Apache client with enhancements
  • Apache 2.0 licensed
dotnet add package YMJake.RocketMQ.Client

gimmickj avatar Nov 16 '25 07:11 gimmickj

Thank you @gimmickj unfortunately, for my case, I can't use that library, because I've implemented RocketMQ to Brighter using this library, and I can't make a breaking change right now, maybe for V11 I'll consider changing to change for that library

Maybe 🤔 I can create another implementation for Brighter using that library

lillo42 avatar Nov 20 '25 20:11 lillo42