質問

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