设置xamarin工作室与PCL& amp; MVVMCross [英] setup of xamarin studio to work with PCL & MVVMCross

查看:104
本文介绍了设置xamarin工作室与PCL& amp; MVVMCross的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢Xamarin Studio,我正在寻找模板解决方案,开始使用MvvmCross开发跨设备应用程序。

I really enjoy Xamarin Studio and I'm looking for a template solution to start developing a cross devices application with MvvmCross.

但我找不到如何设置一个项目与PCL和MvvmCross一起使用Xamarin Studio。

But I can't find how to set a project to work with PCL and MvvmCross with Xamarin Studio.

如果有人能给我一个链接,我可以找到一个教程来制作它,那就太棒了。

If anyone can give me a link where I can find a tutorial to make it, it would be awesome.

我很乐意通过提供反馈并提供一些有关如何开始使用Xamarin Studio,PCL MvvmCross以及摆脱Visual Studio的教程来为这个社区做出贡献: D

I would be very pleased to contribute to this community by giving my feedback and providing some tutorial about how to start using Xamarin Studio, PCL MvvmCross and get rid of Visual Studio :D

推荐答案

@ duDE的回答指出,在Xamarin2.0之前的世界中,在PC上的Visual Studio中工作,有关 http://slodge.blogspot.de/2012/12的详细说明。 /cross-platform-winrt-monodroid.html

As @duDE's answer pointed out, for working in Visual Studio on the PC in the pre-Xamarin2.0 world, there were quite detailed instructions available on http://slodge.blogspot.de/2012/12/cross-platform-winrt-monodroid.html

随着各种版本的Xamarin 2.0发布o在上个月,这些类型的指令变得越来越难以保持最新...这种情况可能会持续一段时间,但Xamarin目前正在补充:

As various releases of Xamarin 2.0 have been released over the last month, these type of instructions have become more and more difficult to keep up to date... and this situation is likely to continue for a little while yet as Xamarin are currently adding:


  • .Net 4.5(Mono 3)支持

  • async / await support

  • PCL支持

这项工作有些紧迫,但没有任何官方目标日期 - 所以我担心没有任何简单的方法预测Alpha,Beta或最终可用性的日期。

This work is being done with some urgency, but without any official target date - so I'm afraid there isn't any easy way to predict dates for Alpha, Beta or final availability.

对于当前的OSX设置,我认为您可以使用:

For the current OSX setup, I think you can use:


  • 当前的XamarinStudio / MonoDevelop - 4.0.2

  • 当前稳定 Xamarin.iOS / MonoTouch和Xamarin.Android/MonoDroid - 使用 Aplha 频道

  • the current XamarinStudio/MonoDevelop - 4.0.2
  • the current stable Xamarin.iOS/MonoTouch and Xamarin.Android/MonoDroid - do not use the Aplha channel

对于当前的PC设置,我认为您不能使用Xamarin.iOS,但可以使用:

For the current PC setup, I think you can cannot use Xamarin.iOS, but you can use:


  • VS2010或VS2012

  • 当前稳定 Xamarin.Android/MonoDroid - 执行使用 Aplha 频道

  • 只需进行一些更改:
    • VS2010 or VS2012
    • the current stable Xamarin.Android/MonoDroid - do not use the Aplha channel
    • with just a couple of changes:

      关于建立和运行事物的讨论,请不要使用StackOverflow - 而是使用以下之一:

      For discussions on getting things building and running, don't use StackOverflow - instead use one of:

      • http://forums.xamarin.com/discussion/1549/pcls-and-mvvmcross-in-the-new-tools#latest

      作为备份,您也可以尝试 https://jabbr.net/# / rooms / mvvmcross

      as a backup you can also try https://jabbr.net/#/rooms/mvvmcross

      甚至不要考虑尝试建立一个MvvmCross应用程序 - Xamarin的免费版本 - 对我试图构建的任何应用程序来说它的限制太低了。

      Don't even think about trying to get an MvvmCross app built - on the free version of Xamarin - it's limits are way too low for any app I've tried to build.

      如果你是要查找一些启动应用模板,请使用: https://github.com/slodge/MvvmCross-Templates

      If you are looking for some starting app templates, use: https://github.com/slodge/MvvmCross-Templates

      如果您正在寻找一些预先构建的二进制文件,请使用以下文件夹中的一个: https://github.com/slodge/MvvmCross-Binaries - 请注意,Mac上构建的可移植库不能移植到PC上(反之亦然) - 它们将很快但很快。

      If you are looking for some pre-built binaries, use one one of the folders on: https://github.com/slodge/MvvmCross-Binaries - please note that portable libraries built on the Mac are not portable across to the PC (or vice versa) - they will be 'soon' but not yet.

      很抱歉我们没有更整洁的解决方案......我们现在已经成功了将PCL侵入Xamarin一年。然而,好消息是,很快这场战斗将结束,我们可以继续使用这些应用程序:)

      Sorry for the fact that we don't have a neater, finished solution... we've now been fighting to hack PCLs into Xamarin for a year. However, the good news is that really soon that battle will be over and we can all get on with the apps :)

      我保证这个答案在一周内就过时了......

      I guarantee this answer is out of date inside a week...

      这篇关于设置xamarin工作室与PCL& amp; MVVMCross的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆