Build Windows app compatible for 8.1 and 10 - webview

Background:
I am new to Windows app development.
I have installed Visual Studio 2017 Enterprise edition free trial on two machines. (One is running win 8.1 OS and other having win 10 OS)
Then, downloaded windows 10 sdk and mobile emulators.
I have created a webview based UWP app which is targeting windows 10.
Problem:
Built UWP app is running perfectly on Windows 10 OS with mobile emulators target version windows 10.
Now, I want the app to run on both windows 8, 8.1 and windows 10 phones.
I have installed windows 10 and windows 8.1 sdk on both machines.
But, it is not allowing me to create a new project to specify minimum sdk version as 8 or 8.1.
Is there any way to target both 8.1 and 10 versions for mobile with single app, with minimum efforts?
Please suggest.

Here is a summary that which VS can build which app models:
VS2019 - UWP (Except for Win10Mobile)
VS2017 - UWP
VS2015 - UWP, Win8.1 StoreApp, WP8/8.1 StoreApp
VS2013 - Win8/8.1 StoreApp, WP8/8.1 StoreAp
(Assume that dev system is Win10 and ignoring the Win32 or others)
(Note - To use the latest Win10 FallCU SDK, you need to use VS2017 or 2019)
For detail, please refer the vs compatibility page:
VS2019
VS2017
VS2015
VS2013

You need to create an app using Windows 8 SDK if you want to target Windows 8 and above versions.
UWP will not work for you because minimum requirement for UWP is Windows 10.

Related

How to select Android platform in Delphi 11 Alexandria?

Using Delphi 11 Alexandria, Professional edition, w/ Patch 1 on Windows 10.
Android was selected as a platform during install, and all of the SDKs were downloaded and installed.
This works fine in Delphi 10.4, but in Delphi 11 Android is not available as a platform, even though the Platform Manager says it's installed.
Can't create a new multi-device application for anything other than Windows.
Does anyone have it working in 11?

Is version 11 of Xcode supported by Visual Studio 2019 and Xamarin on a Windows PC?

I am trying to learn more about Xamarin in my free time. So far I have created a simple Xamarin Forms app with a UWP target and an Android target. I want to add an IOS target now.
Therefore I have purchased a MacBook Pro with Mojave 10.14.6. I have installed Xcode 11 (11A420a) and Visual Studio 2019 version 8.3.1 (I believe) on the Mac. I have opened Visual Studio 2019 on my Windows PC (version 16.0.3) and successfully paired the Mac.
I then created a Hello World Xamarin Forms app that is targeted by IOS on the Windows PC. The app runs, however I just see a black screen in the simulator. I have spent all day Googling this and have got no-where. Is version 11 of Xcode supported by Visual Studio 2019 and Xamarin on a Windows PC? What can I do?
Is version 11 of XCode supported by Visual Studio 2019 and Xamarin on
a Windows PC?
Yes, it is suppported.
I cannot see a project options in the build menu.
Right click the iOS project--> option --> iOS build --> link behavior, I will show you the screenshot.
And
Update:
To the original question, update the Visual-Studio to the latest version(16.3.2) will solve it.
If you have iOS 13 SDK on the Mac you'll need Visual Studio 16.3.2 or greater on your Windows machine.

VS2019 without Windows 8.1 SDK

I'm trying to run an already functional application that requires the Windows 8.1 SDK.
I installed Visual Studio 2019, but there is no option in the 8.1 SDK.
This is for a Windows 10 using Visual Studio 2019 last update.
On my old computer, there was the option to select in "Individual Components", but now no longer the encounter. Does anyone know if there is no such support on VS2019? Or is it necessary to install something more for the support to appear?
This is expected as it is marked as deprecated in Visual Studio 2019:
The Windows 8.1 SDK is no longer available in the Visual Studio
installer. Please upgrade your C++ projects to the latest Windows 10
SDK. If you have a hard dependency on 8.1, you can download it from
the Windows SDK archive.
So download and install the SDK from here.

Minimum Software requirement to connect Xamarin Mac Agent from Windows machine to Mac machine?

I created an iOS app using VS 2017 on Windows 7 pro computerand tried to connect to Mac 10.11 (El Capitan) computer. I am able to see the mac machine from Windows machine using Visual Studio 2017 Xamarin Mac Agent.
I have installed no software specific to Xamarin on Mac OS 10.11.
My question is what is the minimum software that I need to install on Mac machine so I can connect Xamarin Mac Agent from Windows machine to Mac machine?
To connect from Visual Studio in Windows to Mac, the minimum software to install on Mac Machine will be only Visual Studio for Mac. Installing it will install the following components for you:
Visual Studio for Mac IDE
Xamarin.iOS
Xamarin.Mac
Xamarin.Android
Mono runtime
The Visual Studio for Mac will require you to install Xcode in order for iOS development to work. Xcode will be included together with the iOS simulator.
However, latest Xcode (8.3 or 9) required MacOS Sierra (10.12) and above. The latest version of Xamarin.iOS require latest version of Xcode.
In your case, if your Mac is stuck with El capitan OS, you will be only able to update Xcode maximum to v8.2. The compatible Xamarin.iOS version for Xcode 8.2 will be 10.3 or 10.4. You will need to download these specific version and replace the latest Xamarin.iOS version in your Mac. You can only able to download v10.3 in xamarin.com. You will need to email Xamarin if you want to have v10.4. The download link for v10.3 is HERE.
After you have configure in your Mac, you will also need to downgrade the Xamarin.iOS version in Windows. You must have matching versions of Xamarin.iOS on both the Windows and Mac machine in order for the Mac Agent to work. The equivalent Xamarin VS version for Xamarin.iOS 10.3 is v4.2. The download link is HERE
Both the download link is from xamarin.com after you have sign in.

What do I need to install to develop Windows Phone app?

This might be a silly problem. My laptop has Windows 7. I have installed Visual Studio 2012. But there is no Windows Phone project. I have tried to install Windows Phone sdk 8 but it says that I need Windows 8 to install that.
I have tried to install Windows Phone sdk 7 but it says that I need Visual Studio 2010 service pack. I don't know what to do next.
You can't install the Windows Phone 8 SDK on Windows 7, so if you want to develop on Windows 7, you'll have to install the Windows Phone 7 SDK.
It includes Visual Studio 2010 Express for Windows Phone. If you already have VS2010 installed, the SP1 is indeed required.

Resources