[CSHARP-110] collection.Find() MissingMethodException Created: 22/Nov/10  Updated: 02/Apr/15  Resolved: 24/Nov/10

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 0.9
Fix Version/s: 0.7

Type: Bug Priority: Major - P3
Reporter: Ed Rooth Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WinXP .NET 3.5


Backwards Compatibility: Major Change

 Description   

Just pulled the latest copy of Main and am now getting a MissingMethodException every time I call Find<T>().
Not sure what the cause is, but I'm not doing anything special.
Can't get any of my queries to work now.
Last time I updated before this was around 11/15.

System.MissingMethodException: Method not found: 'MongoDB.Driver.MongoCursor`1<!0> MongoDB.Driver.MongoCollection`1.Find(!!0)'



 Comments   
Comment by Robert Stam [ 24/Nov/10 ]

No problem. Glad you got it working.

Comment by Ed Rooth [ 24/Nov/10 ]

Hi Robert,
You are correct. The issue was something weird with Visual Studio assembly misversioning.
Sorry I mistakenly assumed it was due to the driver update.

Comment by Robert Stam [ 22/Nov/10 ]

I am unable to reproduce this issue.

Reading the documentation for MissingMethodException makes me think you might have recompiled the C# Driver but not your own program. Can you make sure your own program has been recompiled against the latest C# Driver and report back?

Thanks.

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