Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

MongoDB Driver 2.28 does not work with package v.3.1.4 #85

Open
OldShaterhan opened this issue Jul 28, 2024 · 5 comments
Open

MongoDB Driver 2.28 does not work with package v.3.1.4 #85

OldShaterhan opened this issue Jul 28, 2024 · 5 comments

Comments

@OldShaterhan
Copy link

When I try to update MongoDB.Driver to v. 2.28.0 from v.2.27.0, with Mongo.Migration 3.1.4 it throws I get following errors:

'M_1_0_0_MigrationName' does not implement inherited abstract member 'DatabaseMigration.Up(IMongoDatabase)'
'M_1_0_0_MigrationName' does not implement inherited abstract member 'DatabaseMigration.Down(IMongoDatabase)'
'M_1_0_0_MigrationName.Up(IMongoDatabase)': no suitable method found to override
'M_1_0_0_MigrationName.Down(IMongoDatabase)': no suitable method found to override

It worked properly for older MongoDB Driver versions.

@ssteiner
Copy link

ssteiner commented Aug 5, 2024

Have you tried building from the source? I've not had any problems when I started with the project today. since I wanted to update all the nugets anyway, I started my own fork immediately. So far, I've not had any issues.

@OldShaterhan
Copy link
Author

I use the Nuget version, so building from the source is not an option here.

@edgarmesquita
Copy link

I had the same problem, I had to download the source code, update the package and add it directly to my project as a project reference :(

@yzhoholiev
Copy link

yzhoholiev commented Sep 14, 2024

Mongo decided to strongly name the C# driver, making all previous usages incompatible. Consequently, the updated version of the package that references the updated C# driver version is required.

@GambaJo
Copy link

GambaJo commented Oct 11, 2024

I had the same problem, I had to download the source code, update the package and add it directly to my project as a project reference :(

Hi. Maybe You could commit your changes here and make a PR, so @SRoddis kann make a working NuGet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants