Portable Class Libraries - supported? RRS feed

  • Question

  • User216 posted

    I'm trying to see if I can a MvvmCross app up and running.

    I've ported the bare basics across - not much needed for just the Mvvm layer.

    I used just a 'class library' and added the MonoMac assembly to it as a reference.

    I wasn't able to link to the PCL project - because MD told me the Portable Profile wasn't supported.

    I then tried referencing the compiled PCL DLL. This seemed to work... I've gotten quite a lot further... but now at compile time there are a few problems like:

    /Users/stuartlodge/Documents/GitHub/Mvx/MvvmCross/Cirrious/Cirrious.MvvmCross.Mac/ExtensionMethods/MvxMacViewControllerExtensionMethods.cs(24,24): Error CS0584: Internal compiler error: Could not import type Cirrious.MvvmCross.ViewModels.MvxNullViewModel' fromCirrious.MvvmCross, Version=, Culture=neutral, PublicKeyToken=null' (CS0584) (Cirrious.MvvmCross.Mac)

    This feels to me like an error at the compiler level - and something I won't be able to easily work around.

    This code works fine in MonoDroid and MonoTouch - albeit with the odd occasional problem where the MD and VS PCL tooling isn't optimal...

    Before I waste any more time on this... are PCLs supported on the Mac products? If not, is there a plan for when they will be?



    Sunday, December 16, 2012 1:22 PM

All replies

  • User216 posted

    Have heard on Bugzilla that these should be working - so it's probably something messed up in my settings.

    I'll try again next year - I've run out of time right now.

    Wednesday, December 19, 2012 6:15 PM
  • User216 posted

    boing.... still not working :(

    and deapsquatter is doing really good stuff on getting mvvmcross ported... but it would be v v v nice if he didn't have to port all the projects across to non-PCL

    I know that you guys said you'd be lovely and look at this urgently for us :)

    Thanks :)

    https://bugzilla.xamarin.com/showbug.cgi?id=9163 https://bugzilla.xamarin.com/showbug.cgi?id=8092


    (does his best to look all cute/sweet/innocent)

    Monday, January 21, 2013 9:35 AM
  • User410 posted

    what he said ^^^^ :)

    Monday, January 21, 2013 11:41 AM
  • User216 posted

    I've got time to work on this in the coming week... But if I can't use pcl's then I'll go work on winrt instead.

    so is there any news?

    Saturday, January 26, 2013 12:04 PM
  • User216 posted

    If anyone's interested...

    • Jeff is my hero (poor Jeff!)
    • this isn't going to get officially supported for a few weeks (or more) yet...
    • but Jeff has released an unofficial MonoDevelop which we can use NOW - see https://bugzilla.xamarin.com/show_bug.cgi?id=9163

    It's like xmas :)

    Thanks Jeff

    Thursday, January 31, 2013 7:19 AM
  • User216 posted

    The DMG seems to work :)

    Will try to have a play this weekend :)


    Friday, February 1, 2013 9:51 AM