3

I have installed Visual studio 2017 and Visual studio 2015.

Using visual studio 2015 I am able to create Xamarin.winphone projects and I am able to run this app on windows 8,8.1,10

Using visual studio 2017 I am able to create Xamarin.uwp projects and while Creating it I would like to support windows 8 as well .. but in minimum version I am not able to find it

enter image description here

Rajan M
  • 345
  • 3
  • 22

2 Answers2

2

UWP is Windows 10 only, so the lowest target is the first Windows 10 Build 10240

The Universal Windows Platform (UWP) is the app platform for Windows 10. You can develop apps for UWP with just one API set, one app package, and one store to reach all Windows 10 devices – PC, tablet, phone, Xbox, HoloLens, Surface Hub and more.

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
1

Using visual studio 2017 I am able to create Xamarin.uwp projects and while Creating it I would like to support windows 8 as well .. but in minimum version I am not able to find it

The solution with windows 8 client project has no longer been supported by Xamarin template. But you could add windows 8 client project manually. Please follow Adding a Windows Phone App.

It is xamarin native PCL project in your screenshot. The PCL project is a protable library referenced by each native platforms. You could also add a new windowsphone native project that reference PCL project. Please refer to the following steps.

  1. Create a cross platform app.

enter image description here

  1. Add a new WindowsPhone native project that reference PCL project.

enter image description here

Please notice that you could not use Xamrin.Forms control in your native project. For example you could not use Entry in "myproject.IOS" , it is suitable to use UITextField.

public ViewController(IntPtr handle) : base(handle)
{
     UITextField textInPut = new UITextField();
     textInPut.Frame = new CGRect(0, 0, 120, 44);
     textInPut.Text = "Xamarin IOS Native ";
     View.AddSubview(textInPut);
}

The code sample has uploaded to github. Please check.

Nico Zhu
  • 32,367
  • 2
  • 15
  • 36
  • Can you explain this a bit ? It seem like this solutions is for windows.forms project but I am using Xamarin Native like myproject.ios,myproject.droid and myproject.winphone – Rajan M Jun 05 '17 at 11:31
  • It is xamarin native PCL project in your screenshot. The PCL project is a protable library referenced by each native platforms. You could also add a new windowsphone native project that reference PCL project. – Nico Zhu Jun 05 '17 at 14:38
  • Please notice that you could not use Xamrin.Forms control in your native project. For example you could not use `Entry` in "myproject.IOS" , it is suitable to use `UITextField`. – Nico Zhu Jun 05 '17 at 14:49
  • If you don't mind Can you explain me how to do it in Xamarin native – Rajan M Jun 05 '17 at 20:34
  • How did you add windows phone project.. Can you explain it please – Rajan M Jun 22 '17 at 13:50
  • @RajanM You could refer to [Adding a Windows Phone App](https://developer.xamarin.com/guides/xamarin-forms/platform-features/windows/installation/phone/). – Nico Zhu Jun 23 '17 at 01:33
  • This is for Xamarin.forms I am looking to add for Xamarin native. – Rajan M Jun 23 '17 at 09:07