We have multiple client applications with a lot of data transfer among them. We got the idea of putting messages into a queue instead of storing everything in DB and reading from it. So we are building a library (.NET DLL) with RabbitMQ message broker so that client applications can use the DLL and send message.
Here is the challenge that I am having, some of our client host/producer application machines have very old machines like Windows XP, 7 (having .NET 4.0) and some others are Windows servers 2016, 2019, windows 10, 11 (having .NET >= 4.5). As per my research, we need to use different RabbitMQ.Client.dll for .NET 4.0 and .NET 4.5 Frameworks. Is there any other way that we can use one .NET C# RabbitMQ.Client.dll for all the environments?
I would really appreciate and encourage any ideas/approaches/solutions for the above challenge