Method not found using Microsoft.WindowsAzure.Storage (2.0.3.0)
I just updated Microsoft.WindowsAzure.Storage from nuget and I am getting strange errors in Visual Studio 2010.
When calling a method IncrementCountProperty
from within AddEntry
a method , the following error appears:
Method not found: 'Void Microsoft.WindowsAzure.Storage.Table.EntityProperty..ctor(Int64)'.
(stack)
System.MissingMethodException: Method not found: 'Void Microsoft.WindowsAzure.Storage.Table.EntityProperty..ctor(Int64)'.
at App.MyClass.IncrementCountProperty(Int32 companyId, String feedKey, Int64 incrementCount)
at App.MyClass.AddEntry(Int32 companyId, String feedKey, FeedEntry entry) in C:\xxx\MyFile.cs:line 464
I realize that I am doing something wrong in IncrementCountProperty
, but the weird part is that Visual Studio does not recognize breakpoints in the method IncrementCountProperty
. If I put a breakpoint on the calling line in AddEntry, the breakpoints work fine. If I then hit F11 to log in, I get the exception directly. Both are declared in the same class
I've tried the following:
- Removing all pdb files
- Removing DLL projects in bin / debug
- Ran Clear Solution
- Restarting Visual Stuido
- Refurbished computer
- Throwing an exception in the IncrementCountProperty method to make sure my code is actually called. And the exception is thrown. But there is no debugger.
I have also verified that the correct version of the WindowsAzure store is being used, both by version number and using the ILDASM tool.
Can anyone help me fix this problem?
source to share