简体   繁体   English

Xamarin.Forms(便携式)解决方案中的Xamarin.Mac项目

[英]Xamarin.Mac project in a Xamarin.Forms (Portable) solution

I'm setting up a new Xamarin.Forms (Portable) solution in Visual Studio 2015. The goal is to deploy the application on Windows, OSX, iOS and Android. 我正在Visual Studio 2015中设置新的Xamarin.Forms(便携式)解决方案。目标是在Windows,OSX,iOS和Android上部署应用程序。 So far, in the solution I see the projects XamarinApp (Portable), XamarinApp.Droid, XamarinApp.iOS and XamarinApp.UWP. 到目前为止,在解决方案中,我看到了XamarinApp(便携式),XamarinApp.Droid,XamarinApp.iOS和XamarinApp.UWP项目。

Is there a way to add a XamarinApp.Mac project to the solution Xamarin.Forms solution? 是否可以将XamarinApp.Mac项目添加到解决方案Xamarin.Forms解决方案中? Or do all Xamarin.Mac projects have to be developed on a mac using Xamarin Studio/Visual Studio for Mac, as I see standalone projects being created using this method. 还是必须使用Xamarin Studio / Visual Studio for Mac在Mac上开发所有Xamarin.Mac项目,因为我看到使用此方法创建了独立项目。 And if this is the case, is there a way to share the codebase from the project created on my PC that is already targeting Android, UWP and iOS? 如果是这种情况,是否有办法从我的PC上创建的已经针对Android,UWP和iOS的项目中共享代码库?

Xamarin.Forms support for macOS as a target platform is presently in development . Xamarin.Forms对macOS作为目标平台的支持目前正在开发中 Per our roadmap it should be expected some time around May. 根据我们的路线图 ,应该预计在五月左右的某个时间。 You will ultimately still need a Mac for developing for the platform. 您最终仍将需要Mac才能为该平台进行开发。

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

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