问题描述
我想问问那里的任何人,到今天为止,是否有可能使用WPF(在Visual Studio中)和Xamarin.Mac(在Xamarin Studio for Mac中)开发Windows/MacOS跨平台应用程序.我在网上搜寻着那些受惊的人(斯图尔特,我知道您几天前就向我推荐了loqu8构建,但是我只是被:P困住了),但没有任何真正有用的东西出现.所以,我的问题是:
I'd like to ask anyone out there whether is possible, as of today, to develop a Windows/MacOS cross platform application using WPF (in Visual Studio) and Xamarin.Mac (in Xamarin Studio for Mac). I searched the web, twitted people (Stuart, I know you pointed me to loqu8 build some days ago, but I'm just stuck :P) but nothing really useful came up. So, my questions are:
- 首先:可能吗?
- 准备好生产了吗?如果不是,那么稳定度是多少?在接下来的几个月中,有没有计划对其进行改进?
- 我似乎如何在Xamarin Studio中使用MvvmCross,因为MacOS似乎不支持NuGet,而且NuGet包也不以Xamarin.Mac为目标?
- 由于Xamarin.Mac没有安装在Windows上,我如何在Visual Studio中创建PCL?我是否必须在MacOS上创建它并在Visual Studio中复制项目?
可能还会有更多...
More could follow...
谢谢您的回答!
推荐答案
是的.几个开发人员已经使用它.
Yes. Several developers have used it.
但这不是MvvmCross的主要目标"-我们的主要重点仍然是用户最需要的Windows,Droid和iOS.
But it's not a "main target" for MvvmCross - our main focus is still on Windows, Droid and iOS which is what users have requested the most.
它没有包含在主要的nuget软件包中-因为nuget并不是很好地支持monomac或xammac软件包.据我所知,目前还没有计划对此进行更改.
It's not included in the main nuget packages - because nuget doesn't really support monomac or xammac packages very well. There are no plans to change this that I know of.
您必须自己构建它.您可以从主要的mvvmcross回购-或从 https://github.com/loqu8/MvvmCross/做了很多工作的人.
You have to build it yourself. You can do this from the main mvvmcross repo - or from branches like https://github.com/loqu8/MvvmCross/ who have done a lot of work on it.
目前最好的建议是自己构建和使用程序集.
Currently the best advice is to build and use the assemblies yourself.
您可以使用XML文件添加其他PCL目标-请参见 http://slodge.blogspot.co.uk/2012/12/cross-platform-winrt-monodroid.html 关于我们以前如何为MonoDroid/Touch进行此操作
You can add additional PCL targets using the XML files - see old posts like http://slodge.blogspot.co.uk/2012/12/cross-platform-winrt-monodroid.html about how we previously did this for MonoDroid/Touch
要在VS中构建MonoMac/XamMac项目,请参见 http://tofutim.blogspot.co.uk/2013/11/adding-monomac-and-xammac-to-visual.html
To build MonoMac/XamMac projects in VS, see http://tofutim.blogspot.co.uk/2013/11/adding-monomac-and-xammac-to-visual.html
这篇关于WPF和Xamarin.Mac的MvvmCross:可以吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!