Error while loading assemblies. Buffer cannot be null. RRS feed

  • Question

  • User36004 posted

    Can't build my application after updating to iOS 10 SDK (Xcode, Xamarin, mono, etc.). Build log says:

    MTOUCH: error MT1010: Could not load the assembly '/Users/some/work/proj/obj/iPhoneSimulator/Debug/mtouch-cache/32/Link/GF.YandexMaps.iOS.dll': Error while loading assemblies: /Users/some/work/proj/obj/iPhoneSimulator/Debug/mtouch-cache/32/Link/GF.YandexMaps.iOS.dll Error while loading assemblies: /Users/some/work/proj/obj/iPhoneSimulator/Debug/mtouch-cache/32/Link/GF.YandexMaps.iOS.dll Buffer cannot be null. Parameter name: buffer Task "MTouch" execution -- FAILED Done building target "_CompileToNative" in project "/Users//work//projname.csproj".-- FAILED

    GF.YandexMaps.iOS.dll - have a 330 MB file size

    I have a Macbook Pro 2015 with 16GB RAM, what the problem? Can't figure it out.

    Thursday, September 15, 2016 5:31 PM

All replies

  • User215475 posted

    I've gotten a similar message and I have to exit Xamarin and once I come back in have to run a clean all in order to be able to compile. Mine is happening on Android.

    Friday, September 16, 2016 2:18 PM
  • User86608 posted

    Have same issue. May be this somehow connected with dll weight? my is 1.3Gb

    Tuesday, September 20, 2016 10:14 AM
  • User86608 posted

    Created bug report https://bugzilla.xamarin.com/show_bug.cgi?id=44518

    Wednesday, September 21, 2016 3:52 AM