I had an EDMX using June 2011 CTP and it was working fine. Now I’ve installed VS 2012 and it’s crashing the designer
Message:
Method not found: ‘System.Collections.ObjectModel.ReadOnlyCollection`1
System.Data.Metadata.Edm.EdmItemCollection.
GetPrimitiveTypes(Double)’.
Any idea?
System.Data.Metadata.Edm.EdmItemCollection.GetPrimitiveTypes(Double)did not exist in EF June 2011 CTP while it exists in .NET Framework 4.5. Uninstall the June CTP and things should work – there have not been much significant changes to the artifacts (csdl, ssdl and msl) so your edmx file should continue to work. Not sure why you contintue to use the CTP while there have been a number of releases (Beta, RC) including RTM since then.