Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top