Xamarin IDE和VisualStudio for Windows + Mvvmcross [英] Xamarin IDE and visualstudio for windows +Mvvmcross

查看:93
本文介绍了Xamarin IDE和VisualStudio for Windows + Mvvmcross的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对用于MvvmCross的IDE感到困惑

I have some confusions About the IDE to use for MvvmCross

a)VisualStudio(VS)使用Xamrarin.iOS和Xamarin.Android插件进行iOS和Android开发.但是我们还可以在VS中使用PCL(便携式类库)和MVVMCross/Monocross框架吗?我在VS上看到了PCL选项,但没有看到对Android&的支持. iOS.我是否还需要为PCL安装其他插件以支持这两个平台?

a) VisualStudio (VS) uses Xamrarin.iOS and Xamarin.Android plugin for iOS and Android development. But can we also use PCL(Portable Class libraries) and MVVMCross/Monocross frameworks in VS? I see the PCL option on VS but, i don't see the support for Android & iOS. Do i need to install additional plugin for PCL to support these two platforms as well?

b)Xamarin IDE在Mac上支持Android和iOS开发,但是Xamarin在Windows上不支持Mono.iOS真的吗? Visual Studio可以使用网络Mac进行iOS开发并不奇怪,但是为什么Xamarin Studio不这样做呢? 感谢您的时间.

b) Xamarin IDE supports Android and iOS development on Mac but, is it true that Xamarin doesn't support Mono.iOS on windows? Isn't it strange that Visual studio can use the network mac for iOS development but why not Xamarin Studio? Thank You for your time.

此致

Saurav

推荐答案

a)VisualStudio(VS)使用Xamrarin.iOS和Xamarin.Android插件进行iOS和Android开发.但是我们还可以在VS中使用PCL(便携式类库)和MVVMCross/Monocross框架吗?我在VS上看到了PCL选项,但没有看到对Android&的支持. iOS.我是否还需要为PCL安装其他插件以支持这两个平台?

a) VisualStudio (VS) uses Xamrarin.iOS and Xamarin.Android plugin for iOS and Android development. But can we also use PCL(Portable Class libraries) and MVVMCross/Monocross frameworks in VS? I see the PCL option on VS but, i don't see the support for Android & iOS. Do i need to install additional plugin for PCL to support these two platforms as well?

MvvmCross当前使用Profile104进行可移植类库的开发.您无需安装Android和iOS即可轻松开发此配置文件.但是,PCL配置文件到平台的映射非常混乱(这并不十分明显),因此,我发现创建Profile104 PCL的最简单方法是:

MvvmCross currently uses Profile104 for Portable Class Library development. You can easily develop for this profile without installing Android and iOS. The mapping of PCL profile to platforms is, however, quite confusing (it's not exactly obvious) so the easiest way I find to create a Profile104 PCL is:

  • 创建任何PCL
  • 然后手动编辑csproj文件以说Profile104-查找类似以下内容的行:
  • to create any PCL
  • then to manually edit the csproj file to say Profile104 - look for a line like: https://github.com/slodge/MvvmCross-Tutorials/blob/master/Babel/Babel.Core/Babel.Core.csproj#L14 in the csproj

我有一些中型团队的客户,其中只有少数人安装了Xamarin工具-大多数人只有Windows工具,并使用单元测试和WindowsPhone/Store用户界面在PCL上工作.

I have customers who develop in medium size teams where only some people have the Xamarin tools installed - most people have just Windows tools and work on the PCLs using Unit Tests and using WindowsPhone/Store user interfaces.

b)Xamarin IDE在Mac上支持Android和iOS开发,但是Xamarin在Windows上不支持Mono.iOS真的吗?

b) Xamarin IDE supports Android and iOS development on Mac but, is it true that Xamarin doesn't support Mono.iOS on windows?

是的,这是真的.

Visual Studio可以使用网络mac进行iOS开发并不奇怪,但是为什么Xamarin Studio不可以呢?

Isn't it strange that Visual studio can use the network mac for iOS development but why not Xamarin Studio?

这听起来可能很奇怪,但是我相信这实际上是Xamarin在倾听客户的声音.

This may feel strange, but I believe this is actually this is Xamarin listening to their customers.

我相信,客户之所以需要Windows对iOS的支持,是因为他们希望使用Visual Studio,并且希望使用Resharper之类的插件. Xamarin在其2.0版本中提供了此功能.

I believe, that the reason customers wanted Windows support for iOS was because they wanted to use Visual Studio and they wanted to use plugins like Resharper. Xamarin provided this in their 2.0 release.

的确,他们也可以为Windows XamarinStudio添加iOS功能-但是(我相信)这并不是他们的任何客户所要求的-因此添加它会创造更多的工作(两者都创建和维护它)而不会增加任何重大利益(IMO)

It is true that they could also have added iOS functionality to XamarinStudio for Windows as well - but this (I believe) wasn't what any of their customers were asking for - so adding it would have created more work (both in creating and maintaining it) without adding any significant benefit (IMO)

这篇关于Xamarin IDE和VisualStudio for Windows + Mvvmcross的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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