Description
In TIMOB-23758 it was discovered that the minimum and target SDK versions for a project are set to the same version which is the highest version on the machine. This should be configurable by the user in the tiapp.xml in a similar way to iOS and Android, and similar to Android maintain as close to a native setting as possible. Below is a proposed example that matches the values found in a native project (.csproj or .vcxproj) file
<windows>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
</windows>
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
</manifest>
</android>
<ios>
<min-ios-ver>4.3</min-ios-ver>
</ios>
master: https://github.com/appcelerator/titanium_mobile_windows/pull/819
https://github.com/appcelerator/titanium_mobile_windows/pull/818
Verified fixed, was able to define a target version and a minimum target version. *Steps taken to verify:* 1. Add the following in to the
tiapp.xml
of an application2. Went to the project directory and used the following commands:
With these commands I was able to build the project and also run it successfully. *Environment*