菜鸟教程小白 发表于 2022-12-12 12:47:05

c# - Xamarin.Forms(可移植)解决方案中的 Xamarin.Mac 项目


                                            <p><p>我正在 Visual Studio 2015 中设置新的 Xamarin.Forms(可移植)解决方案。目标是在 Windows、OSX、iOS 和 Android 上部署应用程序。到目前为止,在解决方案中,我看到了 XamarinApp (Portable)、XamarinApp.Droid、XamarinApp.iOS 和 XamarinApp.UWP 项目。 </p>

<p>有没有办法将 XamarinApp.Mac 项目添加到解决方案 Xamarin.Forms 解决方案中?
或者是否必须使用 Xamarin Studio/Visual Studio for Mac 在 Mac 上开发所有 Xamarin.Mac 项目,因为我看到使用这种方法创建独立项目。如果是这种情况,有没有办法从我的 PC 上创建的项目中共享代码库,该项目已经针对 Android、UWP 和 iOS?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>Xamarin.Forms 对 macOS 作为目标平台的支持目前为 <a href="https://github.com/xamarin/xamarin.forms/tree/macOS" rel="noreferrer noopener nofollow">in development</a> .根据我们的 <a href="https://forums.xamarin.com/discussion/85747/xamarin-forms-feature-roadmap/" rel="noreferrer noopener nofollow">roadmap</a>应该预计在五月左右的某个时间。您最终仍然需要一台 Mac 来为该平台进行开发。</p></p>
                                   
                                                <p style="font-size: 20px;">关于c# - Xamarin.Forms(可移植)解决方案中的 Xamarin.Mac 项目,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41833483/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41833483/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: c# - Xamarin.Forms(可移植)解决方案中的 Xamarin.Mac 项目