简体   繁体   中英

Removing Windows Phone target from Xamarin.Forms app

I was trying to add a web service reference to a Xamarin.Forms app when I noticed that there was no "Add service reference" option available when right-clicking the project's References. After some digging around I found that apparently you cannot add a web service reference to a project that targets Windows Phone 8. I am fine with removing Windows Phone 8 from my app as I really only care about Android and iOS. However, when I try to actually remove it, there doesn't seem to be an option to choose whether or not I want to target WP8 as you can see in the picture:

WP8不可用

So how do I actually remove Windows Phone 8 from my app?

Thanks in advance.

删除所有Xamarin.xxx目标,然后从PCL卸载Xamarin.Forms,最后再次添加Xamarin.Android和Xamarin.iOS目标似乎可以解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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