iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📋

Issues with Xamarin.Forms on Windows 7, Particularly with UWP

に公開

That being said, I think Android and iOS are "probably" fine, and the issues are within a range that doesn't cause any actual harm.

It's mostly a UWP problem...

Actually, this is just me complaining, so please ignore this if you aren't interested.

If it's going to be this half-baked, couldn't MS just not allow the Windows 10 SDK to be installed on Windows 7?

It won't run anyway...

Here are some things that seem a bit off.

Prerequisites

Windows 7 32bit

Visual Studio Community 2015 Update 2

・Installed "both" Windows 10 SDKs during installation

Creating a Xamarin.Forms project fails to create the UWP project when "Build 10586" is specified as the Target Version

When creating a Xamarin.Forms project, the following dialog appears.

If you specify "Build 10586" for the Target Version here, the following message appears, and the UWP project creation fails.

Of course, the SDK for "Build 10586" is installed.

Errors occur when trying to create projects for Windows 8.1 and Windows Phone 8.1

It looks like this.

Since the Windows 8.1 series SDK cannot be installed on Windows 7, there should be no need to create those projects in the first place.

Well, it doesn't cause any real harm, but it would surprise people who don't know, wouldn't it...

Changing the Target Version to "Build 10586" after creating a UWP project in Xamarin.Forms causes errors

If you specify "Build 10240" for the Target Version when creating the project, you can successfully create the UWP project.

It also builds.

I'm not sure if it actually runs.

However, when I change it to "Build 10586," an error occurs and the project fails to load.

And you can't revert it from the UI lol

You can build it again by opening the .sln file in a text editor and changing it back to "Build 10240," though.

Hmm...

Discussion