[CSHARP-625] Make .NET Framework 4 the minimum requirement for the C# driver Created: 05/Nov/12  Updated: 29/Jan/19  Resolved: 15/Apr/14

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.7
Fix Version/s: 2.0

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Craig Wilson
Resolution: Done Votes: 7
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-716 Add support for serializing type Tupl... Closed
Backwards Compatibility: Minor Change

 Description   

We would like to start making use of features provided by .NET Framework 4, which by now has been out long enough that there should be no problem raising the minimum requirement from .NET 3.5 to 4.

Note that one reason we had been delaying this was to maintain Mono compatibility, but Mono has caught up with .NET 4.

 



 Comments   
Comment by Githook User [ 15/Apr/14 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-625: upgraded installer to handle both .NET 4.0 and .NET 4.5 binaries.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/e145d202752471e402f2b2ac7c6d2292478c3ba2

Comment by Githook User [ 15/Apr/14 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-625: build script now builds both .NET 4.0 and .NET 4.5. Still need to update the docs project and the installer project.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/6484fa10623ff3e0cf41444bdd1a21885ac123e6

Comment by Githook User [ 14/Apr/14 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-625: changed projects to target .NET 4.5. Will add in compilation constants for 4.5 specific features to allow us to target 4.0 during builds.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/3f7996e297ba8756025c709979467982839c3277

Comment by John Wood [ 12/Jan/13 ]

For consumer apps, switching from a .Net 3.5 to .Net 4 requirement is pretty significant for users with older hardware. The .Net 4 installation process is very time consuming and confusing to users.

Would it be possible to isolate the core driver capabilities into source files that don't have a dependency on .Net 4 specific features? That way we can custom build a minimum driver from those files that still works with .Net 3.5, and it will remain supported because it will still be part of the current driver.

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