简体   繁体   English

Xamarin垫片组件和PCL

[英]Xamarin shim assemblies and PCL

I want to be able to convert some existing code which uses standard.csproj, droid.csproj and ios.csproj so that they are all based on PCL thus simplifying the solution. 我希望能够转换一些使用standard.csproj,droid.csproj和ios.csproj的现有代码,以便它们都基于PCL,从而简化了解决方案。

I have read and looked at the shim solution suggested here: 我已阅读并查看了此处建议的垫片解决方案:

http://slodge.blogspot.co.uk/2012/12/cross-platform-winrt-monodroid.html http://slodge.blogspot.co.uk/2012/12/cross-platform-winrt-monodroid.html

But: 但:

1: I am unsure how to actually use the shim assemblies - do I reference these instead of the GAC versions? 1:我不确定如何实际使用垫片组件 - 我是否参考这些而不是GAC版本?

2: There is a lot of mention that iOS isn't working yet. 2:有很多人提到iOS尚未运行。 Is this the case? 是这样的吗?

w:// 女://

The official support for PCLs from Xamarin is due in Alpha any day now - expect it before the end of June 2013. Xamarin对PCL的官方支持现在是Alpha现在任何一天 - 预计在2013年6月底之前。

Until then, you can see how to use PCLs by including the shim assemblies from MvvmCross - take a look at: 在此之前,您可以通过包含MvvmCross的垫片组件来了解如何使用PCL - 请查看:

For additional shims, watch questions like TPL on PCL for MvvmCross for PCL Profile 78 (I know people have got this working - just waiting for them to answer the question...) 对于其他垫片,请在PCL上观看PCL上的TPL问题,以获取PCL Profile 78的MvvmCross (我知道人们已经开始工作了 - 只是等着他们回答这个问题......)

When Xamarin official PCL support ships then I anticipate that they will ship official shims and we can retire the MvvmCross ones. 当Xamarin官方PCL支持船只时,我预计他们将发送官方垫片,我们可以退出MvvmCross。 However, no-one at Xamarin has given me any answer about this - for latest on this, maybe see status of https://bugzilla.xamarin.com/show_bug.cgi?id=8035 然而,Xamarin的任何人都没有给我任何答案 - 对于最新的,可能会看到https://bugzilla.xamarin.com/show_bug.cgi?id=8035的状态

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM