Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The build issue that occurs after updating the MongoCSharpDriver #129

Closed
SteAmeR opened this issue Aug 2, 2024 · 3 comments · Fixed by #131
Closed

The build issue that occurs after updating the MongoCSharpDriver #129

SteAmeR opened this issue Aug 2, 2024 · 3 comments · Fixed by #131
Assignees
Labels
dependencies Pull requests that update a dependency file NET8

Comments

@SteAmeR
Copy link

SteAmeR commented Aug 2, 2024

Describe the bug
An error occurred when updating from mongocharpdriver-2.27 to 2.28 as below;

CS0012 The type 'ObjectId' is defined in an assembly that is not referenced. You must add a reference to assembly 'MongoDB.Bson, Version=2.13.2.0, Culture=neutral, PublicKeyToken=null'

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Nuget Update'
  2. Click on 'MongoCSharpDriver 2.28.0'

Expected behavior
As before, we expect it to work in concert without any problems.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • .Net Core version: [.Net Core 8.0]
  • Package Version: [8.3.3]
@garethrampton
Copy link

garethrampton commented Aug 6, 2024

Same issue. Just discovered this.

Pull request has been posted which should fix: #128

@oriolaakeem
Copy link

@matteofabbri kindly review

@vova3211 vova3211 self-assigned this Aug 26, 2024
@vova3211 vova3211 added dependencies Pull requests that update a dependency file NET8 labels Aug 26, 2024
@vova3211 vova3211 mentioned this issue Sep 1, 2024
2 tasks
@vova3211 vova3211 linked a pull request Sep 8, 2024 that will close this issue
2 tasks
@vova3211
Copy link
Collaborator

vova3211 commented Sep 8, 2024

hi there, next versions has fixed this issue:
v8.3.5
v9.0.0

@SteAmeR v9.0.0 supports Net8, so I advice you to upgrade to this version directly instead of 8.3.5

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file NET8
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants