Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

"forwarded to an assembly that is not referenced" error since beta update

AndyDentAndyDent AUMember ✭✭

Since updating to the latest beta Xamarin Studio on Mac Version 6.1 (build 5345) with IOS

I am now getting an error building a unit test project:

Error CS1070: The type System.Dynamic.IDynamicMetaObjectProvider' has been forwarded to an assembly that is not referenced. Consider adding a reference to assemblySystem.Core, Version=, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' (CS1070) (Realm.XamarinIOS)

The assembly it mentions was already in the project as a reference. I removed it and added back for no change.

I created a new project from scratch which works. The properties for the reference indicate they both point to the same dll:


Any ideas ono what to reset/rebuild?

Downloading a complete duplicate of the source and rebuilding that encountered the same error. That makes it more serious as this is a public repo and the main unit test project.



  • AndyDentAndyDent AUMember ✭✭

    As I mentioned over on the beta release thread

    For some reason, it was previously working with the reference only in the platform project (a unit test runner). Now it also requires it in the library DLL project being used by the platform project. So this is probably not a bug but the IDE being fussier.

  • using System.Drawing ;

    lib remove then this error solve

Sign In or Register to comment.