简体   繁体   English

Xamarin表单的Windows Phone模拟器在哪里?

[英]Where is Windows Phone Simulator for Xamarin Forms?

I have created a Xamarin forms multi-platform project. 我创建了一个Xamarin表单多平台项目。 Using Xamarin Studio Community 6.3. 使用Xamarin Studio社区6.3。

The project contains three folder. 该项目包含三个文件夹。 Project and Project.iOS and Project.Droid. Project和Project.iOS和Project.Droid。

I have implemented most of code inside the Project folder which is supposed to be shared across all platforms. 我已经在Project文件夹内实现了大多数代码,这些文件夹应该在所有平台之间共享。

When I choose to Run the project there are only options for project.iOS and project.Droid, what about running on Windows phone? 当我选择“运行项目”时,只有project.iOS和project.Droid的选项,在Windows Phone上运行怎么办? I can't seem to find that option either on Xamarin Studio or Visual Studio Community 2017. 我似乎在Xamarin Studio或Visual Studio Community 2017上都找不到该选项。

Also when I look into some of the samples downloaded from Xamarin websites. 另外,当我调查从Xamarin网站下载的一些样本时。 I see included projects which are no longer supported by Xamarin Studio. 我看到了Xamarin Studio不再支持的项目。 I'm new to Xamarin mobile development and I used to hear that it supports all platforms including windows. 我是Xamarin移动开发的新手,曾经听说它支持包括Windows在内的所有平台。 So are there any major changes I should know about or any mandatory tools I may have neglected ? 那么,我是否应该了解任何重大更改,或者我可能已经忽略的任何强制性工具?

Xamarin项目样本

I don't think there is a Windows emulator for a mac computer. 我认为没有用于Mac电脑的Windows模拟器。

If you have a windows computer with visual studio 2017 you can choose to install the emulator with the installer. 如果您有一台装有Visual Studio 2017的Windows计算机,则可以选择使用安装程序来安装模拟器。

PS: for the second part of your questions, new things get added to Xamarin which end up in not supporting every version. PS:对于您的问题的第二部分,Xamarin中添加了新内容,最终导致不支持每个版本。

For example I use async methods to get data from WCF service en put them in my local database. 例如,我使用异步方法从WCF服务获取数据,并将其放入本地数据库中。 Async methods are supported in Xamarin. Xamarin支持异步方法。 However your computer needs at least Xamarin.Android version 4.8+ to be able to utilize async methods. 但是,您的计算机至少需要Xamarin.Android 4.8+版本才能使用异步方法。

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

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