Skip to content

Instantly share code, notes, and snippets.

@PrintsCharming
Created March 30, 2011 16:18
Show Gist options
  • Save PrintsCharming/894710 to your computer and use it in GitHub Desktop.
Save PrintsCharming/894710 to your computer and use it in GitHub Desktop.
Fresh Massive Install on MVC 3 blank site
Compiler Error Message: CS0121: The call is ambiguous between the following methods or properties: 'Massive.ObjectExtensions.ToExpando(object)' and 'Massive.ObjectExtensions.ToExpando(object)'
Source Error:
Line 82: /// <returns></returns>
Line 83: public static IDictionary<string, object> ToDictionary(this object thingy) {
Line 84: return (IDictionary<string, object>)thingy.ToExpando();
Line 85: }
Line 86: }
Source File: c:\DevProjects\ce4\MassiveTest2\MassiveTest2\App_Code\Massive.cs Line: 84
@tansey
Copy link

tansey commented Apr 16, 2011

This is a really weird error. I moved the Massive.cs file from App_Code into Models and it works for read actions. Write actions still fail for some reason. At this point, I just grabbed the latest version from github and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment