Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top