[CSHARP-2033] Update dependency on System.Runtime.InteropServices.RuntimeInformation to 4.3.0 Created: 19/Aug/17  Updated: 28/Oct/23  Resolved: 06/Feb/19

Status: Closed
Project: C# Driver
Component/s: Build
Affects Version/s: 2.4
Fix Version/s: 2.8.0

Type: Improvement Priority: Major - P3
Reporter: Luis Esperança [X] Assignee: Robert Stam
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-2174 Use a single solution and set of proj... Closed
is depended on by CSHARP-2016 Azure Functions not compatible with 2... Closed
Duplicate
is duplicated by CSHARP-2133 Compilation Issues and Application Pr... Closed
is duplicated by CSHARP-2016 Azure Functions not compatible with 2... Closed
is duplicated by CSHARP-2135 Issue with MongoDB.Driver.Core dll ve... Closed
is duplicated by CSHARP-2393 Driver is not compatible with .NET 4.7.1 Closed
Related
related to CSHARP-2393 Driver is not compatible with .NET 4.7.1 Closed

 Description   

there is an harcoded dependency on MongoDB.Driver.Core.csproj

<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
      <Private>True</Private>
    </Reference>



 Comments   
Comment by Githook User [ 06/Feb/19 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-2033: Update dependency on System.Runtime.InteropServices.RuntimeInformation to 4.3.0.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/2526beb59fc8ce17d4d6dc166a78c3b468ce3e73

Comment by Ian Whalen (Inactive) [ 03/Dec/18 ]

Hey all, apologies for the delay on acting on this. We've held off on a change here because we're uncertain how much we would impact existing applications by making this update.

Comment by Robert Stam [ 02/Jul/18 ]

This change will  done after or as part of CSHARP-2174.

Comment by Keith Hodo [ 31/Oct/17 ]

I have submitted a pull request that will fix this issue on GitHub.

It is located here: https://github.com/mongodb/mongo-csharp-driver/pull/300

Comment by Daniel Nauck [ 21/Sep/17 ]

Problem is that MongoDB.Driver.Core NuGet Package depends on System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0) which could resolve to System.Runtime.InteropServices.RuntimeInformation 4.0.0 or the current 4.3.0. The current 4.3.0 has another assembly version 4.0.1.0 instead of 4.0.0.0.

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