Version number of client library always set to 1.0.0
darkwatchuk opened this issue · comments
Observed behavior
When asking the server for client connections, the version of the this library always comes back as 1.0.0, whereas other libraries come back with the correct versions. E.g.
NATS CLI Version 0.1.4 is go 1.33.1
Also, would it not be better for the language of the library to be reported as .NET rather than C# as per V1 of the library?
Issues with both .NET framework and Core
Expected behavior
I'd expect the library version to get reported correctly ideally with .NET as the library name, rather than C#.
e.g. .NET 2.3.0
Server and client version
.net client 2.3
server 2.10.16
Host environment
Windows client
Steps to reproduce
No response
'supposed' to get it from the assembly!?
nats.net.v2/src/NATS.Client.Core/Internal/ClientOpts.cs
Lines 98 to 117 in 7766619
thanks @darkwatchuk that sounds like the solution to me 💯