[CSHARP-809] Let .NET's Version class parse the version string provided by the server when creating BuildInfo Created: 28/Aug/13  Updated: 02/Apr/15  Resolved: 29/Aug/13

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8.2
Fix Version/s: 1.9

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change

 Description   

When using .NET's Version class, "2.5.2" is not the same as "2.5.2.0". We should pass the version string we get from the server to the Version constructor rather than trying to parse the version string ourselves, because we are inadvertently changing "2.5.2" to "2.5.2.0".



 Comments   
Comment by auto [ 29/Aug/13 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-809: Let .NET's Version class parse the version string instead of us.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0a75b8a26cf4ea07e66ac21e47c3c58ef603e7db

Generated at Wed Feb 07 21:37:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.