سؤال

Is it possible to use MvvmCross with Shared Projects, or a similar technique of sharing code between projects? If so, How?

It seems MvvmCross is built around using PCL. If I use PCL, how do I overcome the problem of not being able to reference platform-specific 3rd-party libraries?

Thanks.

هل كانت مفيدة؟

المحلول

You can manually add App.cs class to your shared project. The same way you need to add your view models and other code. All namespaces will be automatically resolved. Look for solution explorer. In my case AppInit.cs inherits Cirrious.MvvmCross.ViewModels.MvxApplication

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top