Add scripts to run device tests (#13641)

This commit is contained in:
Matthew Leibowitz 2021-02-11 01:17:57 +02:00 коммит произвёл GitHub
Родитель 9fe1b41cf2
Коммит 678aff847e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
41 изменённых файлов: 291 добавлений и 2812 удалений

Просмотреть файл

@ -7,6 +7,12 @@
"commands": [
"dotnet-cake"
]
},
"microsoft.dotnet.xharness.cli": {
"version": "1.0.0-prerelease.21109.1",
"commands": [
"xharness"
]
}
}
}

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 6.5 KiB

После

Ширина:  |  Высота:  |  Размер: 6.5 KiB

Просмотреть файл

@ -9,7 +9,7 @@ Param(
)
# Restore Cake tool
& dotnet tool restore
& dotnet tool restore --configfile eng/DevopsNuget.config
# Build Cake arguments
$cakeArguments = @("$Script");

Просмотреть файл

@ -17,7 +17,7 @@ for i in "$@"; do
done
# Restore Cake tool
dotnet tool restore
dotnet tool restore --configfile eng/DevopsNuget.config
if [ $? -ne 0 ]; then
echo "An error occured while installing Cake."

1
eng/devices/.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1 @@
tools/

199
eng/devices/android.cake Normal file
Просмотреть файл

@ -0,0 +1,199 @@
#addin nuget:?package=Cake.Android.Adb&version=3.2.0
#addin nuget:?package=Cake.Android.AvdManager&version=2.2.0
string TARGET = Argument("target", "Test");
// required
FilePath PROJECT = Argument("project", EnvironmentVariable("ANDROID_TEST_PROJECT") ?? "");
string TEST_DEVICE = Argument("device", EnvironmentVariable("ANDROID_TEST_DEVICE") ?? "android-emulator-32_30");
// optional
var BINLOG = Argument("binlog", EnvironmentVariable("ANDROID_TEST_BINLOG") ?? PROJECT + ".binlog");
var TEST_APP = Argument("app", EnvironmentVariable("ANDROID_TEST_APP") ?? "");
var TEST_APP_PACKAGE_NAME = Argument("package", EnvironmentVariable("ANDROID_TEST_APP_PACKAGE_NAME") ?? "");
var TEST_APP_INSTRUMENTATION = Argument("instrumentation", EnvironmentVariable("ANDROID_TEST_APP_INSTRUMENTATION") ?? "");
var TEST_RESULTS = Argument("results", EnvironmentVariable("ANDROID_TEST_RESULTS") ?? "");
// other
string CONFIGURATION = "Debug"; // needs to be debug so unit tests get discovered
string ANDROID_AVD = "DEVICE_TESTS_EMULATOR";
string DEVICE_NAME = "Nexus 5X";
string DEVICE_ID = "system-images;android-30;google_apis_playstore;x86";
// set up env
var ANDROID_HOME = EnvironmentVariable("ANDROID_HOME");
if (string.IsNullOrEmpty(ANDROID_HOME)) {
throw new Exception("Environment variable 'ANDROID_HOME' must be set to the Android SDK root.");
}
System.Environment.SetEnvironmentVariable("PATH",
$"{ANDROID_HOME}/tools/bin" + System.IO.Path.PathSeparator +
$"{ANDROID_HOME}/platform-tools" + System.IO.Path.PathSeparator +
$"{ANDROID_HOME}/emulator" + System.IO.Path.PathSeparator +
EnvironmentVariable("PATH"));
Information("ANDROID_HOME {0}", ANDROID_HOME);
Information("Project File: {0}", PROJECT);
Information("Build Binary Log (binlog): {0}", BINLOG);
Information("Build Configuration: {0}", CONFIGURATION);
var avdSettings = new AndroidAvdManagerToolSettings { SdkRoot = ANDROID_HOME };
var adbSettings = new AdbToolSettings { SdkRoot = ANDROID_HOME };
var emuSettings = new AndroidEmulatorToolSettings { SdkRoot = ANDROID_HOME, ArgumentCustomization = args => args.Append("-no-window") };
AndroidEmulatorProcess emulatorProcess = null;
Setup(context =>
{
// determine the device characteristics
{
var working = TEST_DEVICE.Trim().ToLower();
var emulator = true;
var arch = "x86";
var api = 30;
// version
if (working.IndexOf("_") is int idx && idx > 0) {
api = int.Parse(working.Substring(idx + 1));
working = working.Substring(0, idx);
}
var parts = working.Split("-");
// os
if (parts[0] != "android")
throw new Exception("Unexpected platform (expected: android) in device: " + TEST_DEVICE);
// device/emulator
if (parts[1] == "device")
emulator = false;
else if (parts[1] != "emulator" && parts[1] != "simulator")
throw new Exception("Unexpected device type (expected: device|emulator) in device: " + TEST_DEVICE);
// arch/bits
if (parts[2] == "32") {
if (emulator)
arch = "x86";
else
arch = "armeabi-v7a";
} else if (parts[2] == "64") {
if (emulator)
arch = "x86_64";
else
arch = "arm64-v8a";
}
DEVICE_ID = $"system-images;android-{api};google_apis_playstore;{arch}";
// we are not using a virtual device, so quit
if (!emulator)
return;
}
Information("Test Device: {0}", TEST_DEVICE);
Information("Test Device ID: {0}", DEVICE_ID);
// delete the AVD first, if it exists
Information("Deleting AVD if exists: {0}...", ANDROID_AVD);
try { AndroidAvdDelete(ANDROID_AVD, avdSettings); }
catch { }
// create the new AVD
Information("Creating AVD: {0}...", ANDROID_AVD);
AndroidAvdCreate(ANDROID_AVD, DEVICE_ID, DEVICE_NAME, force: true, settings: avdSettings);
// start the emulator
Information("Starting Emulator: {0}...", ANDROID_AVD);
emulatorProcess = AndroidEmulatorStart(ANDROID_AVD, emuSettings);
// var waited = 0;
// while (AdbShell("getprop sys.boot_completed", adbSettings).FirstOrDefault() != "1") {
// System.Threading.Thread.Sleep(1000);
// if (waited++ > 60 * 10)
// break;
// }
// Information("Waited {0} seconds for the emulator to boot up.", waited);
});
Teardown(context =>
{
// no virtual device was used
if (emulatorProcess == null)
return;
// stop and cleanup the emulator
AdbEmuKill(adbSettings);
System.Threading.Thread.Sleep(5000);
// kill the process if it has not already exited
try { emulatorProcess.Kill(); }
catch { }
// delete the AVD
try { AndroidAvdDelete(ANDROID_AVD, avdSettings); }
catch { }
});
Task("Build")
.WithCriteria(!string.IsNullOrEmpty(PROJECT.FullPath))
.Does(() =>
{
MSBuild(PROJECT.FullPath, c => {
c.Configuration = CONFIGURATION;
c.Restore = true;
c.Properties["ContinuousIntegrationBuild"] = new List<string> { "false" };
c.Targets.Clear();
c.Targets.Add("Rebuild");
c.Targets.Add("SignAndroidPackage");
c.BinaryLogger = new MSBuildBinaryLogSettings {
Enabled = true,
FileName = BINLOG,
};
});
});
Task("Test")
.IsDependentOn("Build")
.Does(() =>
{
if (string.IsNullOrEmpty(TEST_APP)) {
if (string.IsNullOrEmpty(PROJECT.FullPath))
throw new Exception("If no app was specified, an app must be provided.");
var binDir = PROJECT.GetDirectory().Combine("bin").Combine(CONFIGURATION).FullPath;
var apps = GetFiles(binDir + "/*-Signed.apk");
if (apps.Any()) {
TEST_APP = apps.FirstOrDefault().FullPath;
} else {
apps = GetFiles(binDir + "/*.apk");
TEST_APP = apps.First().FullPath;
}
}
if (string.IsNullOrEmpty(TEST_APP_PACKAGE_NAME)) {
var appFile = (FilePath)TEST_APP;
appFile = appFile.GetFilenameWithoutExtension();
TEST_APP_PACKAGE_NAME = appFile.FullPath.Replace("-Signed", "");
}
if (string.IsNullOrEmpty(TEST_APP_INSTRUMENTATION)) {
TEST_APP_INSTRUMENTATION = TEST_APP_PACKAGE_NAME + ".TestInstrumentation";
}
if (string.IsNullOrEmpty(TEST_RESULTS)) {
TEST_RESULTS = TEST_APP + "-results";
}
Information("Test App: {0}", TEST_APP);
Information("Test App Package Name: {0}", TEST_APP_PACKAGE_NAME);
Information("Test App Instrumentation: {0}", TEST_APP_INSTRUMENTATION);
Information("Test Results Directory: {0}", TEST_RESULTS);
CleanDirectories(TEST_RESULTS);
var settings = new DotNetCoreToolSettings
{
DiagnosticOutput = true,
ArgumentCustomization = args=>args.Append("run xharness android test " +
$"--app=\"{TEST_APP}\" " +
$"--package-name=\"{TEST_APP_PACKAGE_NAME}\" " +
$"--instrumentation=\"{TEST_APP_INSTRUMENTATION}\" " +
$"--device-arch=\"x86\" " +
$"--output-directory=\"{TEST_RESULTS}\" " +
$"--verbosity=\"Debug\" ")
};
DotNetCoreTool("tool", settings);
});
RunTarget(TARGET);

76
eng/devices/ios.cake Normal file
Просмотреть файл

@ -0,0 +1,76 @@
#addin nuget:?package=Cake.AppleSimulator&version=0.2.0
string TARGET = Argument("target", "Test");
// required
FilePath PROJECT = Argument("project", EnvironmentVariable("IOS_TEST_PROJECT") ?? "");
string TEST_DEVICE = Argument("device", EnvironmentVariable("IOS_TEST_DEVICE") ?? "ios-simulator-64_14.4"); // comma separated in the form <platform>-<device|simulator>[-<32|64>][_<version>] (eg: ios-simulator-64_13.4,[...])
// optional
var BINLOG = Argument("binlog", EnvironmentVariable("IOS_TEST_BINLOG") ?? PROJECT + ".binlog");
var TEST_APP = Argument("app", EnvironmentVariable("IOS_TEST_APP") ?? "");
var TEST_RESULTS = Argument("results", EnvironmentVariable("IOS_TEST_RESULTS") ?? "");
// other
string PLATFORM = TEST_DEVICE.ToLower().Contains("simulator") ? "iPhoneSimulator" : "iPhone";
string CONFIGURATION = "Release";
Information("Project File: {0}", PROJECT);
Information("Build Binary Log (binlog): {0}", BINLOG);
Information("Build Platform: {0}", PLATFORM);
Information("Build Configuration: {0}", CONFIGURATION);
Task("Build")
.WithCriteria(!string.IsNullOrEmpty(PROJECT.FullPath))
.Does(() =>
{
MSBuild(PROJECT.FullPath, c => {
c.Configuration = CONFIGURATION;
c.Restore = true;
c.Properties["Platform"] = new List<string> { PLATFORM };
c.Properties["BuildIpa"] = new List<string> { "true" };
c.Properties["ContinuousIntegrationBuild"] = new List<string> { "false" };
c.Targets.Clear();
c.Targets.Add("Rebuild");
c.BinaryLogger = new MSBuildBinaryLogSettings {
Enabled = true,
FileName = BINLOG,
};
});
});
Task("Test")
.IsDependentOn("Build")
.Does(() =>
{
if (string.IsNullOrEmpty(TEST_APP)) {
if (string.IsNullOrEmpty(PROJECT.FullPath))
throw new Exception("If no app was specified, an app must be provided.");
var binDir = PROJECT.GetDirectory().Combine("bin").Combine(PLATFORM).Combine(CONFIGURATION).FullPath;
var apps = GetDirectories(binDir + "/*.app");
TEST_APP = apps.First().FullPath;
}
if (string.IsNullOrEmpty(TEST_RESULTS)) {
TEST_RESULTS = TEST_APP + "-results";
}
Information("Test Device: {0}", TEST_DEVICE);
Information("Test App: {0}", TEST_APP);
Information("Test Results Directory: {0}", TEST_RESULTS);
CleanDirectories(TEST_RESULTS);
var settings = new DotNetCoreToolSettings
{
DiagnosticOutput = true,
ArgumentCustomization = args=>args.Append("run xharness apple test " +
$"--app=\"{TEST_APP}\" " +
$"--targets=\"{TEST_DEVICE}\" " +
$"--output-directory=\"{TEST_RESULTS}\" " +
$"--verbosity=\"Debug\" ")
};
DotNetCoreTool("tool", settings);
});
RunTarget(TARGET);

Просмотреть файл

@ -1,106 +0,0 @@
# Suppress: EC112
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
# Code files
[*.sln]
indent_size = 4
# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# XML files
[*.xml]
indent_size = 2
# Dotnet code style settings:
[*.{cs,vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_require_accessibility_modifiers = omit_if_default:warning
# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
# Naming Conventions:
# Pascal Casing
dotnet_naming_symbols.method_and_property_symbols.applicable_kinds= method,property,enum
dotnet_naming_symbols.method_and_property_symbols.applicable_accessibilities = *
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
dotnet_naming_rule.methods_and_properties_must_be_pascal_case.severity = warning
dotnet_naming_rule.methods_and_properties_must_be_pascal_case.symbols = method_and_property_symbols
dotnet_naming_rule.methods_and_properties_must_be_pascal_case.style = pascal_case_style
# Non-public members must be lower-case
dotnet_naming_symbols.non_public_symbols.applicable_kinds = field
dotnet_naming_symbols.non_public_symbols.applicable_accessibilities = private
dotnet_naming_style.all_lower_case_style.capitalization = camel_case
dotnet_naming_rule.non_public_members_must_be_lower_case.severity = warning
dotnet_naming_rule.non_public_members_must_be_lower_case.symbols = non_public_symbols
dotnet_naming_rule.non_public_members_must_be_lower_case.style = all_lower_case_style
# CSharp code style settings:
[*.cs]
# Do not prefer "var" everywhere
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
csharp_style_var_elsewhere = true:error
# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_constructors = true:suggestion
csharp_style_expression_bodied_operators = true:suggestion
# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_expression_bodied_indexers = true:suggestion
csharp_style_expression_bodied_accessors = true:suggestion
# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion
# Newline settings
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

70
src/Essentials/other/.gitattributes поставляемый
Просмотреть файл

@ -1,70 +0,0 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
# Force bash scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
# Force the docs to always use lf line endings
docs/**/*.xml text eol=lf

Просмотреть файл

@ -1,34 +0,0 @@
Bug report best practices: [Submitting Issues](https://github.com/xamarin/Essentials/blob/main/SUBMITTING-ISSUES.md)
### Description
### Steps to Reproduce
1.
2.
3.
### Expected Behavior
### Actual Behavior
### Basic Information
- Version with issue:
- Last known good version:
- IDE:
- Platform Target Frameworks: <!-- All that apply -->
- iOS: <!-- The version of the iOS SDK you are compiling against, e.g. 11.1 -->
- Android: <!-- The version of the Android SDK you are compiling against, e.g. 7.1 -->
- UWP: <!-- The version of the UWP SDK you are compiling against, e.g. 16299 -->
- Android Support Library Version: <!-- if applicable -->
- Nuget Packages:
- Affected Devices:
### Screenshots
<!-- If the issue is a visual issue, please include screenshots showing the problem if possible -->
### Reproduction Link
<!-- Please upload or provide a link to a reproduction case -->

Просмотреть файл

@ -1,43 +0,0 @@
---
name: Bug Report
about: Create a report to help us improve
title: "[Bug] "
labels: bug
assignees: ''
---
<!-- Bug report best practices: https://github.com/xamarin/Essentials/wiki -->
### Description
### Steps to Reproduce
1.
2.
3.
### Expected Behavior
### Actual Behavior
### Basic Information
- Version with issue:
- Last known good version:
- IDE:
- Platform Target Frameworks: <!-- All that apply -->
- iOS: <!-- The version of the iOS SDK you are compiling against, e.g. 11.1 -->
- Android: <!-- The version of the Android SDK you are compiling against, e.g. 7.1 -->
- UWP: <!-- The version of the UWP SDK you are compiling against, e.g. 16299 -->
- Android Support Library Version: <!-- if applicable -->
- Nuget Packages:
- Affected Devices:
### Screenshots
<!-- If the issue is a visual issue, please include screenshots showing the problem if possible -->
### Reproduction Link
<!-- Please upload or provide a link to a reproduction case -->

Просмотреть файл

@ -1,27 +0,0 @@
---
name: Feature request
about: Suggest an idea for Essentials
title: "[Enhancement] YOUR IDEA!"
labels: feature-request
assignees: ''
---
## Summary
Please provide a brief summary of your proposal. Two to three sentences is best here.
## API Changes
Include a list of all API changes, additions, subtractions as would be required by your proposal. These APIs should be considered placeholders, so the naming is not as important as getting the concepts correct. If possible you should include some "example" code of usage of your new API. You should also provide details of the level of availability for the feature on each of the supported platforms.
e.g.
In order to facilitate the new Shiny Button api, a bool is added to the Button class. This is done as a bool because it is simpler to data bind and other reasons...
var button = new Button ();
button.MakeShiny = true; // new API
The MakeShiny API works even if the button is already visible.
## Intended Use Case
Provide a detailed example of where your proposal would be used and for what purpose.

Просмотреть файл

@ -1,39 +0,0 @@
---
name: New API Spec
about: An official specification for new APIS
title: "[Spec] "
labels: "feature-request"
assignees: ''
---
# [The feature]
Provide a concise description of the feature and the motivation for adding it to Xamarin.Essentials
# API
## [ class ]
### Properties
| API | Description |
| ------------- | ------------- |
| [name] | Gets or sets [description]. |
### Events
| API | Description |
| ------------- | ------------- |
| [name] | [API documentation/description] |
# Scenarios
# Platform Compatibility
- Target Frameworks: <!-- All that apply -->
- iOS: <!-- Support on iOS for the API -->
- Android: <!-- Support on Android for the API -->
- UWP: <!-- Support on UWP for the API -->
# Backward Compatibility
# Difficulty : [low/medium/high]

Просмотреть файл

@ -1,61 +0,0 @@
<!--
HOL' UP! JUST A SEC!
After January 31, 2021, feature related pull requests cannot be guaranteed to merge by Xamarin.Essentials.
We are in the process of merging Xamarin.Essentials into the MAUI repository for improved experience.
At this stage, MAUI will depend on Xamarin.Essentials, so we are moving it there so that they can be released together.
This repo can still be used for a time to fix any critical bugs and other issues. All new features will be postponed until the merge is complete.
Thanks for all the PRs in the past, we can't wait to have you contributing features very soon in our new and improved home!
PLEASE DELETE THE ALL THESE COMMENTS BEFORE SUBMITTING! THANKS!!!
-->
### Description of Change ###
Describe your changes here.
### Bugs Fixed ###
- Related to issue #
Provide links to issues here. Ensure that a GitHub issue was created for your feature or bug fix before sending PR.
### API Changes ###
List all API changes here (or just put None), example:
Added:
- `string Class.Property { get; set; }`
- `void Class.Method();`
Changed:
- `object Cell.OldPropertyName` => `object Cell.NewPropertyName`
If there is an entirely new API, then you can use a more verbose style:
```csharp
public static class NewClass {
public static int SomeProperty { get; set; }
public static void SomeMethod(string value);
}
```
### Behavioral Changes ###
Describe any non-bug related behavioral changes that may change how users app behaves when upgrading to this version of the codebase.
### PR Checklist ###
- [ ] Has tests (if omitted, state reason in description)
- [ ] Has samples (if omitted, state reason in description)
- [ ] Rebased on top of `main` at time of PR
- [ ] Changes adhere to coding standard
- [ ] Updated documentation ([see walkthrough](https://github.com/xamarin/Essentials/wiki/Documenting-your-code-with-mdoc))

299
src/Essentials/other/.gitignore поставляемый
Просмотреть файл

@ -1,299 +0,0 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Output/
**/Resources/Resource.designer.cs
# Cake tools
tools/
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Tt]mp/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
appsettings.Development.json
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Typescript v1 declaration files
typings/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# CodeRush
.cr/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
**/*.DS_Store
docs/en/ns-.xml

Просмотреть файл

@ -1,17 +0,0 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source url: $buildCorePowershellUrl"
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
# Step-2: Run build core
echo "run build core script with parameters: $parameters"
& "$buildCorePowershellDestination" "$parameters"
exit $LASTEXITCODE

Просмотреть файл

@ -1,87 +0,0 @@
{
"docsets_to_publish": [
{
"docset_name": "XamarinEssentials",
"build_source_folder": "docs/en",
"build_output_subfolder": "XamarinEssentials",
"locale": "en-us",
"monikers": [],
"moniker_ranges": [],
"open_to_public_contributors": true,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"NetEnum": "Content",
"NetDelegate": "Content",
"NetNamespace": "Content",
"NetMember": "Content",
"NetType": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs",
"template_folder": "_themes",
"base_path": "dotnet",
"site_name": "Docs",
"customized_tasks": {
"docset_prebuild": [
"_dependentPackages/ECMA2Yaml/tools/Run.ps1",
"_dependentPackages/CommonPlugins/tools/SplitTOC.ps1",
"_dependentPackages/CommonPlugins/tools/DiffFolder.ps1"
],
"docset_postbuild": [
"_dependentPackages/ECMA2Yaml/tools/PostBuild.ps1"
]
},
"ECMA2Yaml": {
"SourceXmlFolder": "docs/en",
"OutputYamlFolder": "docs/en/api",
"Flatten": true,
"id": "XamarinEssentials",
"SDPMode": true
},
"SplitTOC": [
"docs/en/api/XamarinEssentials/toc.yml"
],
"DiffFolder": [
"docs/en/api"
]
}
],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": false,
"contribution_branch_mappings": {},
"need_pr_comments": false,
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
],
"branch_target_mapping": {},
"need_generate_pdf_url_template": false,
"need_generate_pdf": false,
"need_generate_intellisense": false,
"dependent_packages": [
{
"id": "Microsoft.OpenPublishing.CommonPlugins",
"nuget_feed": "https://www.myget.org/F/op/api/v2",
"path_to_root": "_dependentPackages/CommonPlugins",
"target_framework": "net45",
"version": "latest"
},
{
"id": "Microsoft.DocAsCode.ECMA2Yaml",
"nuget_feed": "https://www.myget.org/F/op/api/v2",
"path_to_root": "_dependentPackages/ECMA2Yaml",
"target_framework": "net45",
"version": "latest"
}
],
"docs_build_engine": {
"name": "docfx_v3"
}
}

Просмотреть файл

@ -1,3 +0,0 @@
# Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

Просмотреть файл

@ -1,143 +0,0 @@
# Contributing
Thanks you for your interest in contributing to Xamarin.Essentials! In this document we'll outline what you need to know about contributing and how to get started.
## Code of Conduct
Please see our [Code of Conduct](CODE_OF_CONDUCT.md).
## Prerequisite
You will need to complete a Contribution License Agreement before any pull request can be accepted. Complete the CLA at https://cla.dotnetfoundation.org/.
## Contributing Code - Best Practices
### Enums
* Always use `Unknown` at index 0 for return types that may have a value that is not known
* Always use `Default` at index 0 for option types that can use the system default option
* Follow naming guidelines for tense... `SensorSpeed` not `SensorSpeeds`
* Assign values (0,1,2,3) for all enums
### Property Names
* Include units only if one of the platforms includes it in their implementation. For instance HeadingMagneticNorth implies degrees on all platforms, but PressureInHectopascals is needed since platforms don't provide a consistent API for this.
### Units
* Use the standard units and most well accepted units when possible. For instance Hectopascals are used on UWP/Android and iOS uses Kilopascals so we have chosen Hectopascals.
### Style
* Prefer using `==` when checking for null instead of `is`
### Exceptions
We currently have different ways of indicating that nothing can be done:
- do nothing
- throw `FeatureNotSupportedException`
- throw `PlatformNotSupportedException`
- throw `FeatureNotEnabledException`
One case where we do nothing is in Android's energy saver API: if we are not Lollipop, then we just fall through:
https://github.com/xamarin/Essentials/blob/1.0.0/Xamarin.Essentials/Battery/Battery.android.cs#L12-L48
One case where we throw `FeatureNotSupportedException` is with the sensors: if there is no sensor X, then we throw.
One case (and the only case so far) where we throw `PlatformNotSupportedException` is in Android's text-to-speech API: if we try and speak, but we couldn't initialize, then we throw.
So far, I was able to determine that we throw `FeatureNotSupportedException` for:
- the sensors on all platforms if we aren't able to access the hardware
- we throw in the start and the stop (this one may be overkill, we can probably first check to see if it is started, and if not then just do nothing)
- the Android external browser if there was no browser installed
- the email API
- Android: if there is no `message/rfc822` intent handler
- iOS: (if the mail VC can't send, or if the `mailto:` doesn't have an app, or if trying to send HTML over the `mailto:` protocol
- UWP: if the `EmailManager` is not available, or if trying to send HTML
- the flashlight API on all platforms if there is no camera flash hardware
- the phone dialler
- Android / iOS: if the OS can't handle the `tel:` protocol
- UWP: the `PhoneCallManager` is missing
- the sms API
- Android: if there is no `smsto:` intent handler
- iOS: (if the message VC can't send
- UWP: if the `ChatMessageManager` is not available
- the vibration API on UWP if the `VibrationDevice` is not available or if no hardware was found
We throw a `PlatformNotSupportedException` for:
- Android when we aren't able to initialize the text-to-speech engine
We throw a `FeatureNotEnabledException` for:
- Geolocation if no providers are found
We do "nothing":
- the Vibration API on iOS and android never actually checks, it just starts it
- the Map API on Android and UWP just starts the URI, assuming that something will be there
- the Geolocation API always assumes that there is a GPS and throws a `FeatureNotEnabledException` if there was no way to get the hardware
- the KeepScreenOn feature just assumes the window flag will be honoured (probably is, but is there an api level/hardware limit?)
- the energy saver API on android pre-Lollipop
## Documentation - mdoc
This project uses [mdoc](http://www.mono-project.com/docs/tools+libraries/tools/monodoc/generating-documentation/) to document types, members, and to add small code snippets and examples. mdoc files are simple xml files and there is an msbuild target you can invoke to help generate the xml placeholders.
Read the [Documenting your code with mdoc wiki page](https://github.com/xamarin/Essentials/wiki/Documenting-your-code-with-mdoc) for more information on this process.
Every pull request which affects public types or members should include corresponding mdoc xml file changes.
### Bug Fixes
If you're looking for something to fix, please browse [open issues](https://github.com/xamarin/Essentials/issues).
Follow the style used by the [.NET Foundation](https://github.com/dotnet/runtime/blob/master/docs/coding-guidelines/coding-style.md), with two primary exceptions:
- We do not use the `private` keyword as it is the default accessibility level in C#.
- We will **not** use `_` or `s_` as a prefix for internal or private field names
- We will use `camelCaseFieldName` for naming internal or private fields in both instance and static implementations
Read and follow our [Pull Request template](https://github.com/xamarin/Essentials/blob/main/.github/PULL_REQUEST_TEMPLATE.md)
### Proposals
To propose a change or new feature, review the guidance below and then [open an issue using this template](https://github.com/xamarin/Essentials/issues/new).
#### Non-Starter Topics
The following topics should generally not be proposed for discussion as they are non-starters:
* Large renames of APIs
* Large non-backward-compatible breaking changes
* Platform-Specifics which can be accomplished without changing Xamarin.Essentials
* Avoid clutter posts like "+1" which do not serve to further the conversation
#### Guiding Principles for New Features
Any proposals for new feature work and new APIs should follow the spirit of these principles:
* APIs should be simple, direct, and generally implemented with static classes and methods whenever practical
* Usage of interfaces is to be strictly avoided - APIs should be simple and performant
* Custom UI should be entirely avoided
* UI code is only allowable in cases where the platform provides an implementation (eg: Browser, Email Composer, Phone Dialer, etc)
* New features should have native APIs available to allow implementation on a reasonable subset of the supported platforms, especially (iOS, Android, UWP)
* No new external dependencies should be added to support implementation of new feature work (there can be exceptions but they must be thoroughly considered for the value being added)
#### Proposal States
##### Open
Open proposals are still under discussion. Please leave your concrete, constructive feedback on this proposal. +1s and other clutter posts which do not add to the discussion will be removed.
##### Accepted
Accepted proposals are proposals that both the community and core Xamarin.Essentials agree should be a part of Xamarin.Essentials. These proposals are ready for implementation, but do not yet have a developer actively working on them. These proposals are available for anyone to work on, both community and the core Xamarin.Essentials team.
If you wish to start working on an accepted proposal, please reply to the thread so we can mark you as the implementor and change the title to In Progress. This helps to avoid multiple people working on the same thing. If you decide to work on this proposal publicly, feel free to post a link to the branch as well for folks to follow along.
###### What "Accepted" does mean
* Any community member is welcome to work on the idea.
* The core Xamarin.Essentials team _may_ consider working on this idea on their own, but has not done so until it is marked "In Progress" with a team member assigned as the implementor.
* Any pull request implementing the proposal will be welcomed with an API and code review.
###### What "Accepted" does not mean
* The proposal will ever be implemented, either by a community member or by the core Xamarin.Essentials team.
* The core Xamarin.Essentials team is committing to implementing a proposal, even if nobody else does. Accepted proposals simply mean that the core Xamarin.Essentials team and the community agree that this proposal should be a part of Xamarin.Essentials.
##### In Progress
Once a developer has begun work on a proposal, either from the core Xamarin.Essentials team or a community member, the proposal is marked as in progress with the implementors name and (possibly) a link to a development branch to follow along with progress.
#### Rejected
Rejected proposals will not be implemented or merged into Xamarin.Essentials. Once a proposal is rejected, the thread will be closed and the conversation is considered completed, pending considerable new information or changes.

Просмотреть файл

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)Xamarin.Essentials.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" InProject="false" Visible="false" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,25 +0,0 @@
Xamarin.Essentials
The MIT License (MIT)
Copyright (c) Microsoft Corporation
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,17 +0,0 @@
The MIT License (MIT)
Copyright (c) Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Просмотреть файл

@ -1,14 +0,0 @@
# Xamarin.Essentials Feedback
We'd love to hear your thoughts on Xamarin.Essentials. Here are a few links to help get you to the right place:
### Setup and Common Questions
* Read through our full [Getting Started with Xamarin.Essetials Guide](https://docs.microsoft.com/xamarin/essentials/get-started)
* [Frequently Asked Questions on our Wiki](https://github.com/xamarin/Essentials/wiki/FAQ-%7C-Essentials)
### Propose a Feature
* Read our [short guide](https://github.com/xamarin/Essentials/wiki/Proposing-New-Features) and then [file an issue](https://github.com/xamarin/Essentials/issues/new)
### Report an Issue
* Browse through [current open and closed issues first](https://github.com/xamarin/Essentials/issues?utf8=%E2%9C%93&q=is%3Aissue)
* [File an issue](https://github.com/xamarin/Essentials/issues/new) if it hasn't been reported

Просмотреть файл

@ -1,79 +0,0 @@
# Xamarin.Essentials
Xamarin.Essentials gives developers essential cross-platform APIs for their mobile applications.
iOS, Android, and UWP offer unique operating system and platform APIs that developers have access to, all in C# leveraging Xamarin. It is great that developers have 100% API access in C# with Xamarin, but these APIs are different per platform. This means developers have to learn three different APIs to access platform-specific features. With Xamarin.Essentials, developers have a single cross-platform API that works with any iOS, Android, or UWP application that can be accessed from shared code no matter how the user interface is created.
## Questions
Get your technical questions answered by experts on [Microsoft Q&A](https://docs.microsoft.com/answers/topics/dotnet-xamarinessentials.html?WT.mc_id=friends-0000-jamont).
## Contribution Discussion
Contributing to Xamarin.Essentials? Join our [Discord server](https://discord.com/invite/Y8828kE) and chat with the team
## Build Status
| Build Server | Type | Platform | Status |
|--------------|--------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| VSTS | Build | Windows | [![Build Status](https://dev.azure.com/devdiv/DevDiv/_apis/build/status/Xamarin/Components/Xamarin.Essentials?branchName=main)](https://dev.azure.com/xamarin/public/_build?definitionId=7&_a=summary) |
| App Center | Sample App | Android | [![Build status](https://build.appcenter.ms/v0.1/apps/7a1f46ca-ba2f-477e-aacc-ff013c7d5f7a/branches/main/badge)](https://appcenter.ms) |
| App Center | Sample App | iOS | [![Build status](https://build.appcenter.ms/v0.1/apps/43b39e9e-2b2b-482f-8afa-e9906334c85e/branches/main/badge)](https://appcenter.ms) |
## Sample App
Try out Xamarin.Essentials on your device!
* [Android Sample App](https://install.appcenter.ms/orgs/microsoft-liveplayer/apps/essentials-android/distribution_groups/public%20testers) via App Center.
## Installation
Xamarin.Essentials is available via NuGet & is included in every template:
* NuGet Official Releases: [![NuGet](https://img.shields.io/nuget/vpre/Xamarin.Essentials.svg?label=NuGet)](https://www.nuget.org/packages/Xamarin.Essentials)
* Nightly / CI Releases: https://aka.ms/xamarin-essentials-ci/index.json
Please read our [Getting Started with Xamarin.Essentials guide](https://docs.microsoft.com/xamarin/essentials/get-started?WT.mc_id=friends-0000-jamont) for full setup instructions.
## Documentation
Browse our [full documentation for Xamarin.Essentials](https://docs.microsoft.com/xamarin/essentials?WT.mc_id=friends-0000-jamont), including feature guides, on how to use each feature.
## Supported Platforms
Platform support & feature support can be found on our [documentation](https://docs.microsoft.com/xamarin/essentials/platform-feature-support?WT.mc_id=friends-0000-jamont)
## Contributing
Please read through our [Contribution Guide](CONTRIBUTING.md). We are not accepting new PRs for full features, however any [issue that is marked as `up for grabs`](https://github.com/xamarin/Essentials/issues?q=is%3Aissue+is%3Aopen+label%3A%22up+for+grabs%22) are open for community contributions. We encourage creating new issues for bugs found during usage that the team will triage. Additionally, we are open for code refactoring suggestions in PRs.
## Building Xamarin.Essentials
Xamarin.Essentials is built with the new SDK-style projects with multi-targeting enabled. This means that all code for iOS, Android, and UWP exist inside of the Xamarin.Essentials project.
## Visual Studio
A minimum version of Visual Studio 2019 16.3 or Visual Studio for Mac 2019 8.3 are required to build and compile Xamarin.Essentials.
### Workloads needed:
* Xamarin
* .NET Core
* UWP
### You will need the following SDKs
* Android 10.0, 9.0, 8.1, 8.0, 7.1, 7.0, & 6.0 SDK Installed
* UWP 10.0.16299 SDK Installed
Your can run the included `android-setup.ps1` script in **Administrator Mode** and it will automatically setup your Android environment.
## FAQ
Here are some frequently asked questions about Xamarin.Essentials, but be sure to read our full [FAQ on our Wiki](https://github.com/xamarin/Essentials/wiki#feature-faq).
## License
Please see the [License](LICENSE).

Просмотреть файл

@ -1,44 +0,0 @@
If you think you've found a bug to report, before doing anything else you should check the [Issues](https://github.com/xamarin/Essentials/issues) page to see if an issue has already been filed! This can help reduce the number of duplicate reports.
If you're ready to submit a new issue, taking the following steps helps expedite the bug triage process:
* Validate that the issue is not resolved with the latest stable, pre-release, or nightly builds.
* If you are able and time allows, create a minimized reproduction project using only the code necessary to reproduce the issue; this helps us as we then know precisely what code is being used.
* Before compressing the reproduction project, make certain to clean the solution as well as manually delete any bin/obj folders, e.g.:
[ProjectRoot]/ProjectName/bin
[ProjectRoot]/ProjectName/obj
[ProjectRoot]/ProjectName.Android/bin
[ProjectRoot]/ProjectName.Android/obj
[ProjectRoot]/ProjectName.iOS/bin
[ProjectRoot]/ProjectName.iOS/obj
[ProjectRoot]/ProjectName.UWP/bin
[ProjectRoot]/ProjectName.UWP/obj
Please make certain to remove the packages folder as well to cut down on size.
* Please make note if the issue only occurs on particular platforms, so we can run reproductions on each and compare.
* In the case of a regression, please confirm as such as well as the last working, pre-regression build you may be aware of, if possible. Providing a reproduction with the working package installed to begin with also helps, as we can then simply upgrade it and compare against the latest stable to confirm.
* In some cases, issues may only occur on specific devices, with specific versions of the OS, or when targeting specific OS versions within the project itself. Some issues also occur on devices, but not on simulators. This information is incredibly helpful.
* Please upload reproductions directly to the report as an attachment; this guarantees future access to the file.
# Android Specific Concerns #
Please let us know any issues which may stem from different versions of the support library packages (e.g. Xamarin.Android.Support.v7.AppCompat), as sometimes bugs may only occur when specific versions are used.
# iOS Specific Concerns #
To be added
# UWP-specific Concerns #
Please make note if an issue appears hardware-specific (slower machines, multiple monitors, etc.), due to the desktop component.
# Contributing #
Think you may have a bug fix, or you'd like to work on fixing one yourself? We greatly welcome PRs with fixes from the community! Check out the [Contribute page](CONTRIBUTING.md) for more info.

Просмотреть файл

@ -1,7 +0,0 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<FirstParty Include="Xamarin.Essentials.dll" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,15 +0,0 @@
##Legal Notices
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
[LICENSE-CODE](LICENSE-CODE) file.
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
Privacy information can be found at https://privacy.microsoft.com/en-us/
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
or trademarks, whether by implication, estoppel or otherwise.

Просмотреть файл

@ -1,211 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for Xamarin.Essentials" Description="Code analysis rules for Xamarin.Essentials." ToolsVersion="15.0">
<IncludeAll Action="Warning" />
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="None" />
<Rule Id="SA0002" Action="Warning" />
<Rule Id="SA1000" Action="Warning" />
<Rule Id="SA1001" Action="Warning" />
<Rule Id="SA1002" Action="Warning" />
<Rule Id="SA1003" Action="Warning" />
<Rule Id="SA1004" Action="Warning" />
<Rule Id="SA1005" Action="Warning" />
<Rule Id="SA1006" Action="Warning" />
<Rule Id="SA1007" Action="Warning" />
<Rule Id="SA1008" Action="Warning" />
<Rule Id="SA1009" Action="Warning" />
<Rule Id="SA1010" Action="Warning" />
<Rule Id="SA1011" Action="Warning" />
<Rule Id="SA1012" Action="Warning" />
<Rule Id="SA1013" Action="Warning" />
<Rule Id="SA1014" Action="Warning" />
<Rule Id="SA1015" Action="Warning" />
<Rule Id="SA1016" Action="Warning" />
<Rule Id="SA1017" Action="Warning" />
<Rule Id="SA1018" Action="Warning" />
<Rule Id="SA1019" Action="Warning" />
<Rule Id="SA1020" Action="Warning" />
<Rule Id="SA1021" Action="Warning" />
<Rule Id="SA1022" Action="Warning" />
<Rule Id="SA1023" Action="Warning" />
<Rule Id="SA1024" Action="Warning" />
<Rule Id="SA1025" Action="Warning" />
<Rule Id="SA1026" Action="Warning" />
<Rule Id="SA1027" Action="Warning" />
<Rule Id="SA1028" Action="Warning" />
<Rule Id="SA1100" Action="Warning" />
<Rule Id="SA1101" Action="None" />
<Rule Id="SA1102" Action="Warning" />
<Rule Id="SA1103" Action="Warning" />
<Rule Id="SA1104" Action="Warning" />
<Rule Id="SA1105" Action="Warning" />
<Rule Id="SA1106" Action="Warning" />
<Rule Id="SA1107" Action="Warning" />
<Rule Id="SA1108" Action="Warning" />
<Rule Id="SA1109" Action="Warning" />
<Rule Id="SA1110" Action="Warning" />
<Rule Id="SA1111" Action="Warning" />
<Rule Id="SA1112" Action="Warning" />
<Rule Id="SA1113" Action="Warning" />
<Rule Id="SA1114" Action="Warning" />
<Rule Id="SA1115" Action="Warning" />
<Rule Id="SA1116" Action="Warning" />
<Rule Id="SA1117" Action="Warning" />
<Rule Id="SA1118" Action="Warning" />
<Rule Id="SA1119" Action="Warning" />
<Rule Id="SA1120" Action="Warning" />
<Rule Id="SA1121" Action="Warning" />
<Rule Id="SA1122" Action="Warning" />
<Rule Id="SA1123" Action="Warning" />
<Rule Id="SA1124" Action="Warning" />
<Rule Id="SA1125" Action="Warning" />
<Rule Id="SA1126" Action="Warning" />
<Rule Id="SA1127" Action="Warning" />
<Rule Id="SA1128" Action="Warning" />
<Rule Id="SA1129" Action="Warning" />
<Rule Id="SA1130" Action="Warning" />
<Rule Id="SA1131" Action="Warning" />
<Rule Id="SA1132" Action="Warning" />
<Rule Id="SA1133" Action="Warning" />
<Rule Id="SA1134" Action="Warning" />
<Rule Id="SA1135" Action="Warning" />
<Rule Id="SA1136" Action="Warning" />
<Rule Id="SA1137" Action="Warning" />
<Rule Id="SA1139" Action="Warning" />
<Rule Id="SA1200" Action="Warning" />
<Rule Id="SA1201" Action="None" />
<Rule Id="SA1202" Action="None" />
<Rule Id="SA1203" Action="Warning" />
<Rule Id="SA1204" Action="Warning" />
<Rule Id="SA1205" Action="Warning" />
<Rule Id="SA1206" Action="Warning" />
<Rule Id="SA1207" Action="Warning" />
<Rule Id="SA1208" Action="Warning" />
<Rule Id="SA1209" Action="Warning" />
<Rule Id="SA1210" Action="Warning" />
<Rule Id="SA1211" Action="Warning" />
<Rule Id="SA1212" Action="Warning" />
<Rule Id="SA1213" Action="Warning" />
<Rule Id="SA1214" Action="Warning" />
<Rule Id="SA1215" Action="Warning" />
<Rule Id="SA1216" Action="Warning" />
<Rule Id="SA1217" Action="Warning" />
<Rule Id="SA1300" Action="Warning" />
<Rule Id="SA1301" Action="Warning" />
<Rule Id="SA1302" Action="Warning" />
<Rule Id="SA1303" Action="None" />
<Rule Id="SA1304" Action="Warning" />
<Rule Id="SA1305" Action="None" />
<Rule Id="SA1306" Action="Warning" />
<Rule Id="SA1307" Action="Warning" />
<Rule Id="SA1308" Action="Warning" />
<Rule Id="SA1309" Action="Warning" />
<Rule Id="SA1310" Action="Warning" />
<Rule Id="SA1311" Action="None" />
<Rule Id="SA1312" Action="Warning" />
<Rule Id="SA1313" Action="Warning" />
<Rule Id="SA1314" Action="Warning" />
<Rule Id="SA1400" Action="None" />
<Rule Id="SA1401" Action="Warning" />
<Rule Id="SA1402" Action="None" />
<Rule Id="SA1403" Action="Warning" />
<Rule Id="SA1404" Action="Warning" />
<Rule Id="SA1405" Action="Warning" />
<Rule Id="SA1406" Action="Warning" />
<Rule Id="SA1407" Action="Warning" />
<Rule Id="SA1408" Action="Warning" />
<Rule Id="SA1409" Action="Warning" />
<Rule Id="SA1410" Action="Warning" />
<Rule Id="SA1411" Action="Warning" />
<Rule Id="SA1412" Action="Warning" />
<Rule Id="SA1413" Action="None" />
<Rule Id="SA1500" Action="Warning" />
<Rule Id="SA1501" Action="Warning" />
<Rule Id="SA1502" Action="Warning" />
<Rule Id="SA1503" Action="None" />
<Rule Id="SA1504" Action="Warning" />
<Rule Id="SA1505" Action="Warning" />
<Rule Id="SA1506" Action="Warning" />
<Rule Id="SA1507" Action="Warning" />
<Rule Id="SA1508" Action="Warning" />
<Rule Id="SA1509" Action="Warning" />
<Rule Id="SA1510" Action="Warning" />
<Rule Id="SA1511" Action="Warning" />
<Rule Id="SA1512" Action="None" />
<Rule Id="SA1513" Action="None" />
<Rule Id="SA1514" Action="Warning" />
<Rule Id="SA1515" Action="Warning" />
<Rule Id="SA1516" Action="Warning" />
<Rule Id="SA1517" Action="Warning" />
<Rule Id="SA1518" Action="Warning" />
<Rule Id="SA1519" Action="Warning" />
<Rule Id="SA1520" Action="Warning" />
<Rule Id="SA1600" Action="None" />
<Rule Id="SA1601" Action="None" />
<Rule Id="SA1602" Action="None" />
<Rule Id="SA1603" Action="None" />
<Rule Id="SA1604" Action="None" />
<Rule Id="SA1605" Action="None" />
<Rule Id="SA1606" Action="None" />
<Rule Id="SA1607" Action="None" />
<Rule Id="SA1608" Action="None" />
<Rule Id="SA1609" Action="None" />
<Rule Id="SA1610" Action="None" />
<Rule Id="SA1611" Action="None" />
<Rule Id="SA1612" Action="None" />
<Rule Id="SA1613" Action="None" />
<Rule Id="SA1614" Action="None" />
<Rule Id="SA1615" Action="None" />
<Rule Id="SA1616" Action="None" />
<Rule Id="SA1617" Action="None" />
<Rule Id="SA1618" Action="None" />
<Rule Id="SA1619" Action="None" />
<Rule Id="SA1620" Action="None" />
<Rule Id="SA1621" Action="None" />
<Rule Id="SA1622" Action="None" />
<Rule Id="SA1623" Action="None" />
<Rule Id="SA1624" Action="None" />
<Rule Id="SA1625" Action="None" />
<Rule Id="SA1626" Action="Warning" />
<Rule Id="SA1627" Action="None" />
<Rule Id="SA1628" Action="None" />
<Rule Id="SA1629" Action="None" />
<Rule Id="SA1630" Action="None" />
<Rule Id="SA1631" Action="None" />
<Rule Id="SA1632" Action="None" />
<Rule Id="SA1633" Action="None" />
<Rule Id="SA1634" Action="None" />
<Rule Id="SA1635" Action="None" />
<Rule Id="SA1636" Action="None" />
<Rule Id="SA1637" Action="None" />
<Rule Id="SA1638" Action="None" />
<Rule Id="SA1639" Action="None" />
<Rule Id="SA1640" Action="None" />
<Rule Id="SA1641" Action="None" />
<Rule Id="SA1642" Action="None" />
<Rule Id="SA1643" Action="None" />
<Rule Id="SA1644" Action="None" />
<Rule Id="SA1645" Action="None" />
<Rule Id="SA1646" Action="None" />
<Rule Id="SA1647" Action="None" />
<Rule Id="SA1648" Action="None" />
<Rule Id="SA1649" Action="None" />
<Rule Id="SA1650" Action="None" />
<Rule Id="SA1651" Action="None" />
<Rule Id="SA1652" Action="None" />
<Rule Id="SX1101" Action="Warning" />
<Rule Id="SX1309" Action="None" />
<Rule Id="SX1309S" Action="None" />
<Rule Id="xUnit1026" Action="None" />
<!--
=================================================================================================================
Rules that are configured in the stylecop.json file
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/Configuration.md
=================================================================================================================
SA1200: Using directives must be placed correctly.
settings.orderingRules.systemUsingDirectivesFirst
settings.orderingRules.usingDirectivesPlacement
=================================================================================================================
-->
</Rules>
</RuleSet>

Просмотреть файл

@ -1,519 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29505.209
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Essentials", "Xamarin.Essentials\Xamarin.Essentials.csproj", "{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples", "Samples\Samples\Samples.csproj", "{B4227123-2EEB-494A-A221-C061B5659AED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples.Android", "Samples\Samples.Android\Samples.Android.csproj", "{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples.iOS", "Samples\Samples.iOS\Samples.iOS.csproj", "{AB6242B7-634F-4839-A991-7629D0D2C636}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Samples.Tizen", "Samples\Samples.Tizen\Samples.Tizen.csproj", "{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples.UWP", "Samples\Samples.UWP\Samples.UWP.csproj", "{5A1D97F2-6703-4278-BBF2-12C065F7E94A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{2CE6F352-F61F-452F-9098-7800B3B06EEF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DeviceTests.Shared", "DeviceTests\DeviceTests.Shared\DeviceTests.Shared.csproj", "{D30EA5AD-6C9B-4517-9767-41C2E62946DB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceTests.Android", "DeviceTests\DeviceTests.Android\DeviceTests.Android.csproj", "{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceTests.iOS", "DeviceTests\DeviceTests.iOS\DeviceTests.iOS.csproj", "{EE8FC716-27FC-405B-BD27-AF17E01A6671}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceTests.UWP", "DeviceTests\DeviceTests.UWP\DeviceTests.UWP.csproj", "{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{6330A0D0-E784-42A6-B975-451E609B907B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{EE4495FA-9869-45CF-A11D-69F2218C6F62}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Server.WebAuthenticator", "Samples\Sample.Server.WebAuthenticator\Sample.Server.WebAuthenticator.csproj", "{553D51A8-8E79-40D9-9FB3-9FC2386FF886}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Samples.Mac", "Samples\Samples.Mac\Samples.Mac.csproj", "{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|iPhone = Debug|iPhone
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|iPhone = Release|iPhone
Release|iPhoneSimulator = Release|iPhoneSimulator
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|ARM.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|ARM.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|ARM64.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|iPhone.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|x64.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|x64.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|x86.ActiveCfg = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Debug|x86.Build.0 = Debug|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|Any CPU.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|ARM.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|ARM.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|ARM64.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|ARM64.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|iPhone.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|iPhone.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|x64.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|x64.Build.0 = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|x86.ActiveCfg = Release|Any CPU
{CD6D6AE6-83A1-41B1-BD7C-C555A77C288B}.Release|x86.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|ARM.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|ARM.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|ARM64.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|iPhone.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|x64.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|x64.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|x86.ActiveCfg = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Debug|x86.Build.0 = Debug|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|Any CPU.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|ARM.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|ARM.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|ARM64.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|ARM64.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|iPhone.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|iPhone.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|x64.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|x64.Build.0 = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|x86.ActiveCfg = Release|Any CPU
{B4227123-2EEB-494A-A221-C061B5659AED}.Release|x86.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM64.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|ARM64.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhone.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x64.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x64.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x64.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x86.ActiveCfg = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x86.Build.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Debug|x86.Deploy.0 = Debug|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|Any CPU.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|Any CPU.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM64.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM64.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|ARM64.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhone.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhone.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhone.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x64.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x64.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x64.Deploy.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x86.ActiveCfg = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x86.Build.0 = Release|Any CPU
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C}.Release|x86.Deploy.0 = Release|Any CPU
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|Any CPU.Deploy.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM.ActiveCfg = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM.Build.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM.Deploy.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM64.ActiveCfg = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM64.Build.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|ARM64.Deploy.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|iPhone.ActiveCfg = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|iPhone.Build.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|iPhone.Deploy.0 = Debug|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x64.ActiveCfg = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x64.Build.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x64.Deploy.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Debug|x86.Deploy.0 = Debug|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|Any CPU.Deploy.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM.ActiveCfg = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM.Build.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM.Deploy.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM64.ActiveCfg = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM64.Build.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|ARM64.Deploy.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|iPhone.ActiveCfg = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|iPhone.Build.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|iPhone.Deploy.0 = Release|iPhone
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x64.ActiveCfg = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x64.Build.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x64.Deploy.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x86.ActiveCfg = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x86.Build.0 = Release|iPhoneSimulator
{AB6242B7-634F-4839-A991-7629D0D2C636}.Release|x86.Deploy.0 = Release|iPhoneSimulator
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|ARM.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|ARM.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|ARM64.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|iPhone.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|x64.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|x64.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|x86.ActiveCfg = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Debug|x86.Build.0 = Debug|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|Any CPU.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|Any CPU.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|ARM.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|ARM.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|ARM64.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|ARM64.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|iPhone.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|iPhone.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|x64.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|x64.Build.0 = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|x86.ActiveCfg = Release|Any CPU
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65}.Release|x86.Build.0 = Release|Any CPU
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|Any CPU.ActiveCfg = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|Any CPU.Build.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|Any CPU.Deploy.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM.ActiveCfg = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM.Build.0 = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM.Deploy.0 = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM64.ActiveCfg = Debug|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM64.Build.0 = Debug|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|ARM64.Deploy.0 = Debug|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhone.ActiveCfg = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhone.Build.0 = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhone.Deploy.0 = Debug|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhoneSimulator.Build.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|iPhoneSimulator.Deploy.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x64.ActiveCfg = Debug|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x64.Build.0 = Debug|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x64.Deploy.0 = Debug|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x86.ActiveCfg = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x86.Build.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Debug|x86.Deploy.0 = Debug|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|Any CPU.ActiveCfg = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|Any CPU.Build.0 = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|Any CPU.Deploy.0 = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM.ActiveCfg = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM.Build.0 = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM.Deploy.0 = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM64.ActiveCfg = Release|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM64.Build.0 = Release|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|ARM64.Deploy.0 = Release|ARM64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhone.ActiveCfg = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhone.Build.0 = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhone.Deploy.0 = Release|ARM
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhoneSimulator.Build.0 = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|iPhoneSimulator.Deploy.0 = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x64.ActiveCfg = Release|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x64.Build.0 = Release|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x64.Deploy.0 = Release|x64
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x86.ActiveCfg = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x86.Build.0 = Release|x86
{5A1D97F2-6703-4278-BBF2-12C065F7E94A}.Release|x86.Deploy.0 = Release|x86
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|ARM.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|ARM.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|ARM64.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|iPhone.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|x64.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|x64.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|x86.ActiveCfg = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Debug|x86.Build.0 = Debug|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|Any CPU.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|ARM.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|ARM.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|ARM64.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|ARM64.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|iPhone.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|iPhone.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|x64.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|x64.Build.0 = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|x86.ActiveCfg = Release|Any CPU
{2CE6F352-F61F-452F-9098-7800B3B06EEF}.Release|x86.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|ARM.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|ARM.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|ARM64.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|iPhone.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|x64.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|x64.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|x86.ActiveCfg = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Debug|x86.Build.0 = Debug|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|Any CPU.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|ARM.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|ARM.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|ARM64.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|ARM64.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|iPhone.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|iPhone.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|x64.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|x64.Build.0 = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|x86.ActiveCfg = Release|Any CPU
{D30EA5AD-6C9B-4517-9767-41C2E62946DB}.Release|x86.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM64.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|ARM64.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhone.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x64.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x64.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x64.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x86.ActiveCfg = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x86.Build.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Debug|x86.Deploy.0 = Debug|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|Any CPU.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|Any CPU.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM64.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM64.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|ARM64.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhone.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhone.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhone.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x64.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x64.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x64.Deploy.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x86.ActiveCfg = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x86.Build.0 = Release|Any CPU
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1}.Release|x86.Deploy.0 = Release|Any CPU
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|Any CPU.Deploy.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM.ActiveCfg = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM.Build.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM.Deploy.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM64.ActiveCfg = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM64.Build.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|ARM64.Deploy.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|iPhone.ActiveCfg = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|iPhone.Build.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|iPhone.Deploy.0 = Debug|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x64.ActiveCfg = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x64.Build.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x64.Deploy.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x86.ActiveCfg = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x86.Build.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Debug|x86.Deploy.0 = Debug|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|Any CPU.Deploy.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM.ActiveCfg = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM.Build.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM.Deploy.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM64.ActiveCfg = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM64.Build.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|ARM64.Deploy.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|iPhone.ActiveCfg = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|iPhone.Build.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|iPhone.Deploy.0 = Release|iPhone
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x64.ActiveCfg = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x64.Build.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x64.Deploy.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x86.ActiveCfg = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x86.Build.0 = Release|iPhoneSimulator
{EE8FC716-27FC-405B-BD27-AF17E01A6671}.Release|x86.Deploy.0 = Release|iPhoneSimulator
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|Any CPU.ActiveCfg = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|Any CPU.Build.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|Any CPU.Deploy.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM.ActiveCfg = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM.Build.0 = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM.Deploy.0 = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM64.ActiveCfg = Debug|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM64.Build.0 = Debug|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|ARM64.Deploy.0 = Debug|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhone.ActiveCfg = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhone.Build.0 = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhone.Deploy.0 = Debug|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhoneSimulator.Build.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|iPhoneSimulator.Deploy.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x64.ActiveCfg = Debug|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x64.Build.0 = Debug|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x64.Deploy.0 = Debug|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x86.ActiveCfg = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x86.Build.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Debug|x86.Deploy.0 = Debug|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|Any CPU.ActiveCfg = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|Any CPU.Build.0 = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|Any CPU.Deploy.0 = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM.ActiveCfg = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM.Build.0 = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM.Deploy.0 = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM64.ActiveCfg = Release|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM64.Build.0 = Release|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|ARM64.Deploy.0 = Release|ARM64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhone.ActiveCfg = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhone.Build.0 = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhone.Deploy.0 = Release|ARM
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhoneSimulator.ActiveCfg = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhoneSimulator.Build.0 = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|iPhoneSimulator.Deploy.0 = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x64.ActiveCfg = Release|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x64.Build.0 = Release|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x64.Deploy.0 = Release|x64
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x86.ActiveCfg = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x86.Build.0 = Release|x86
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B}.Release|x86.Deploy.0 = Release|x86
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|Any CPU.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|ARM.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|ARM.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|ARM64.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|iPhone.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|x64.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|x64.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|x86.ActiveCfg = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Debug|x86.Build.0 = Debug|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|Any CPU.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|Any CPU.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|ARM.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|ARM.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|ARM64.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|ARM64.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|iPhone.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|iPhone.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|x64.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|x64.Build.0 = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|x86.ActiveCfg = Release|Any CPU
{553D51A8-8E79-40D9-9FB3-9FC2386FF886}.Release|x86.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|ARM.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|ARM.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|ARM64.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|iPhone.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|x64.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|x64.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|x86.ActiveCfg = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Debug|x86.Build.0 = Debug|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|Any CPU.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|ARM.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|ARM.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|ARM64.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|ARM64.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|iPhone.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|iPhone.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|x64.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|x64.Build.0 = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|x86.ActiveCfg = Release|Any CPU
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B4227123-2EEB-494A-A221-C061B5659AED} = {6330A0D0-E784-42A6-B975-451E609B907B}
{3C0CDEF3-495E-45F4-8B12-0E05EF11295C} = {6330A0D0-E784-42A6-B975-451E609B907B}
{AB6242B7-634F-4839-A991-7629D0D2C636} = {6330A0D0-E784-42A6-B975-451E609B907B}
{70574463-7D8F-47F2-9DF0-8D3EA97DFB65} = {6330A0D0-E784-42A6-B975-451E609B907B}
{5A1D97F2-6703-4278-BBF2-12C065F7E94A} = {6330A0D0-E784-42A6-B975-451E609B907B}
{2CE6F352-F61F-452F-9098-7800B3B06EEF} = {EE4495FA-9869-45CF-A11D-69F2218C6F62}
{D30EA5AD-6C9B-4517-9767-41C2E62946DB} = {EE4495FA-9869-45CF-A11D-69F2218C6F62}
{CB2072E0-A437-4811-AE17-16CAE0DDA1B1} = {EE4495FA-9869-45CF-A11D-69F2218C6F62}
{EE8FC716-27FC-405B-BD27-AF17E01A6671} = {EE4495FA-9869-45CF-A11D-69F2218C6F62}
{4BD0D88F-7E7A-4C3B-9E34-BF3717A8FF4B} = {EE4495FA-9869-45CF-A11D-69F2218C6F62}
{553D51A8-8E79-40D9-9FB3-9FC2386FF886} = {6330A0D0-E784-42A6-B975-451E609B907B}
{89899D16-4BD1-49B1-9903-9F6BB26C5DC5} = {6330A0D0-E784-42A6-B975-451E609B907B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E012047E-6826-4037-8D1A-5606CD7D345D}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -1,53 +0,0 @@
$androidSdkHome = $ENV:ANDROID_HOME
if ([string]::IsNullOrWhiteSpace($androidSdkHome))
{
if ($ENV:OS -eq "Windows_NT")
{
$androidSdkHome = "C:\Program Files (x86)\Android\android-sdk\"
}
else
{
$androidSdkHome = Resolve-Path "~/Library/Developer/Xamarin/android-sdk-macosx"
}
Write-Host "Couldn't locate ANDROID_HOME, using: $androidSdkHome"
}
Write-Host "Using Android SDK Home: $androidSdkHome"
Write-Host "Installing Global dotnet android tool..."
dotnet tool install --global --add-source https://www.myget.org/F/xam-dotnet-tools/api/v3/index.json AndroidSdk.Tool
Write-Host "Installing and/or Updating Android SDK..."
Write-Host "This may take awhile..."
android --home="$androidSdkHome" sdk download
Write-Host "Installing API 23..."
android --home="$androidSdkHome" sdk --install="platforms;android-23"
Write-Host "Installing API 24..."
android --home="$androidSdkHome" sdk --install="platforms;android-24"
Write-Host "Installing API 25..."
android --home="$androidSdkHome" sdk --install="platforms;android-25"
Write-Host "Installing API 26..."
android --home="$androidSdkHome" sdk --install="platforms;android-26"
Write-Host "Installing API 27..."
android --home="$androidSdkHome" sdk --install="platforms;android-27"
Write-Host "Installing API 28..."
android --home="$androidSdkHome" sdk --install="platforms;android-28"
Write-Host "Installing API 29..."
android --home="$androidSdkHome" sdk --install="platforms;android-29"
Write-Host "Installing API 29 Emulator Image (x86_64 - google_apis)..."
android --home="$androidSdkHome" sdk --install="system-images;android-29;google_apis;x86_64"
Write-Host "Creating XamarinEmulator virtual device..."
android --home="$androidSdkHome" emulator create XamarinEmulator "system-images;android-29;google_apis;x86_64" --device=Pixel --force
Write-Host "Done!"

Просмотреть файл

@ -1,10 +0,0 @@
#!/usr/bin/env bash
echo "Variables:"
# Updating manifest
sed -i '' "s/AC_IOS/$AC_IOS/g" $BUILD_REPOSITORY_LOCALPATH/Samples/Samples/Helpers/CommonConstants
sed -i '' "s/APP-SECRET/$APP_SECRET/g" $BUILD_REPOSITORY_LOCALPATH/Samples/Samples.iOS/Info.plist
echo "Manifest updated!"

Просмотреть файл

@ -1,215 +0,0 @@
trigger:
- main
- develop
- refs/tags/*
pr:
- main
- develop
variables:
BASE_VERSION: 1.6.0
PREVIEW_LABEL: 'ci'
BUILD_NUMBER: $[counter(format('{0}_{1}_{2}', variables['BASE_VERSION'], variables['PREVIEW_LABEL'], variables['Build.SourceBranch']), 1)]
NUGET_VERSION: $[format('{0}-{1}.{2}', variables['BASE_VERSION'], variables['PREVIEW_LABEL'], variables['BUILD_NUMBER'])]
GIT_SHA: $(Build.SourceVersion)
GIT_BRANCH_NAME: $(Build.SourceBranchName)
AREA_PATH: 'DevDiv\Xamarin SDK\Build and Tools'
resources:
repositories:
- repository: internal-templates
type: github
name: xamarin/yaml-templates
endpoint: xamarin
- repository: components
type: github
name: xamarin/XamarinComponents
endpoint: xamarin
stages:
- stage: build
displayName: Build Library
jobs:
- template: .ci/build.yml@components
parameters:
areaPath: 'DevDiv\Xamarin SDK'
masterBranchName: 'main'
preBuildSteps:
- pwsh: |
$pr = "pr." + $env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
$nuget = $env:BASE_VERSION + "-" + $pr + "." + $env:BUILD_NUMBER
Write-Host "Preview label: $pr"
Write-Host "NuGet version: $nuget"
Write-Host "##vso[task.setvariable variable=PREVIEW_LABEL]$pr"
Write-Host "##vso[task.setvariable variable=NUGET_VERSION]$nuget"
displayName: Use a special preview label for PRs
condition: eq(variables['Build.Reason'], 'PullRequest')
- pwsh: |
$tagVersion = $env:BUILD_SOURCEBRANCHNAME
Write-Host "Tag version: $tagVersion"
Write-Host "##vso[task.setvariable variable=NUGET_VERSION]$tagVersion"
displayName: Override version for tags
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
- pwsh: |
Write-Host "##vso[build.updatebuildnumber]$env:NUGET_VERSION"
displayName: Update the build number with a more readable one
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
- stage: signing
displayName: Sign Artifacts
dependsOn: [ 'build' ]
jobs:
- template: sign-artifacts/jobs/v2.yml@internal-templates
parameters:
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
- stage: devicetests
displayName: Device Tests
dependsOn: []
jobs:
- job: devicetests_uwp
displayName: UWP
# skip for now
condition: false
pool:
vmImage: windows-2019
steps:
- script: 'certutil -importpfx $(Build.SourcesDirectory)\DeviceTests\DeviceTests.UWP\DeviceTests.UWP_TemporaryKey.pfx'
displayName: 'Run certutil'
- powershell: |
cd DeviceTests
.\build.ps1 --target=test-uwp-emu --settings_skipverification=true --verbosity=diagnostic
displayName: 'Run Device Tests - UWP'
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFormat: XUnit
testResultsFiles: '**/xunit-*.xml'
testRunTitle: 'Device Tests - UWP'
- template: .ci/build.yml@components
parameters:
name: devicetests_ios
runChecks: false
displayName: iOS
publishOutputSuffix: '-ios'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-ios-emu
cakeExtraArgs: --ios-device="`"iPhone 11`"" --ios-runtime="`"com.apple.CoreSimulator.SimRuntime.iOS-14-2`""
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_21
runChecks: false
displayName: Android API 21
publishOutputSuffix: '-android21'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-21;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-21;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_22
runChecks: false
displayName: Android API 22
publishOutputSuffix: '-android22'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-22;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-22;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_23
runChecks: false
continueOnError: true
displayName: Android API 23
publishOutputSuffix: '-android23'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-23;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-23;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_24
runChecks: false
displayName: Android API 24
publishOutputSuffix: '-android24'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-24;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-24;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_26
runChecks: false
displayName: Android API 26
publishOutputSuffix: '-android26'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-26;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-26;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_29
runChecks: false
displayName: Android API 29
publishOutputSuffix: '-android29'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-29;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-29;google_apis;x86\""
displayName: Install the Android emulators
- template: .ci/build.yml@components
parameters:
name: devicetests_android_api_30
runChecks: false
displayName: Android API 30
publishOutputSuffix: '-android30'
windowsImage: ''
areaPath: $(AREA_PATH)
verbosity: diagnostic
cakeFile: DeviceTests/build.cake
cakeTarget: test-android-emu
cakeExtraArgs: --avd-target="`"system-images;android-30;google_apis;x86`""
preBuildSteps:
- bash: sh -c "echo \"y\" | $ANDROID_HOME/tools/bin/sdkmanager \"system-images;android-30;google_apis;x86\""
displayName: Install the Android emulators

Просмотреть файл

@ -1,91 +0,0 @@
var TARGET = Argument("t", Argument("target", "ci"));
var NUGET_VERSION = EnvironmentVariable("NUGET_VERSION") ?? "1.0.0";
var GIT_SHA = Argument("gitSha", EnvironmentVariable("GIT_SHA") ?? "");
var GIT_BRANCH_NAME = Argument("gitBranch", EnvironmentVariable("GIT_BRANCH_NAME") ?? "");
Task("prepare")
.Does(() =>
{
// Update .csproj nuget versions
XmlPoke("./Xamarin.Essentials/Xamarin.Essentials.csproj", "/Project/PropertyGroup/PackageVersion", NUGET_VERSION);
});
Task("libs")
.IsDependentOn("prepare")
.Does(() =>
{
MSBuild("./Xamarin.Essentials/Xamarin.Essentials.csproj", new MSBuildSettings()
.EnableBinaryLogger("./output/binlogs/libs.binlog")
.SetConfiguration("Release")
.WithRestore());
});
Task("nugets")
.IsDependentOn("prepare")
.IsDependentOn("libs")
.IsDependentOn("docs")
.Does(() =>
{
MSBuild("./Xamarin.Essentials/Xamarin.Essentials.csproj", new MSBuildSettings()
.EnableBinaryLogger("./output/binlogs/nugets.binlog")
.SetConfiguration("Release")
.WithRestore()
.WithProperty("PackageOutputPath", MakeAbsolute(new FilePath("./output/")).FullPath)
.WithTarget("Pack"));
});
Task("tests")
.IsDependentOn("libs")
.Does(() =>
{
var failed = 0;
foreach (var csproj in GetFiles("./Tests/**/*.csproj")) {
try {
DotNetCoreTest(csproj.FullPath, new DotNetCoreTestSettings {
Configuration = "Release",
Logger = $"trx;LogFileName={csproj.GetFilenameWithoutExtension()}.trx",
});
} catch (Exception) {
failed++;
}
}
var output = $"./output/test-results/";
EnsureDirectoryExists(output);
CopyFiles($"./tests/**/TestResults/*.trx", output);
if (failed > 0)
throw new Exception($"{failed} tests have failed.");
});
Task("samples")
.IsDependentOn("nugets")
.Does(() =>
{
MSBuild("./Xamarin.Essentials.sln", new MSBuildSettings()
.EnableBinaryLogger("./output/binlogs/samples.binlog")
.SetConfiguration("Release")
.WithRestore());
});
Task("docs")
.IsDependentOn("libs")
.WithCriteria(IsRunningOnWindows())
.Does(() =>
{
MSBuild("./Xamarin.Essentials/Xamarin.Essentials.csproj", new MSBuildSettings()
.EnableBinaryLogger("./output/binlogs/docs.binlog")
.SetConfiguration("Release")
.WithRestore()
.WithTarget("mdocupdatedocs"));
});
Task("ci")
.IsDependentOn("libs")
.IsDependentOn("nugets")
.IsDependentOn("tests")
.IsDependentOn("samples");
RunTarget(TARGET);

Просмотреть файл

@ -1,283 +0,0 @@
#addin nuget:?package=Cake.AppleSimulator&version=0.2.0
#addin nuget:?package=Cake.Android.Adb&version=3.2.0
#addin nuget:?package=Cake.Android.AvdManager&version=2.2.0
#addin nuget:?package=Cake.FileHelpers&version=3.3.0
var TARGET = Argument("target", "Default");
var IOS_SIM_NAME = Argument("ios-device", EnvironmentVariable("IOS_SIM_NAME") ?? "iPhone 11");
var IOS_SIM_RUNTIME = Argument("ios-runtime", EnvironmentVariable("IOS_SIM_RUNTIME") ?? "com.apple.CoreSimulator.SimRuntime.iOS-14-2");
var IOS_PROJ = "./DeviceTests.iOS/DeviceTests.iOS.csproj";
var IOS_BUNDLE_ID = "com.xamarin.essentials.devicetests";
var IOS_IPA_PATH = "./DeviceTests.iOS/bin/iPhoneSimulator/Release/XamarinEssentialsDeviceTestsiOS.app";
var IOS_TEST_RESULTS_PATH = MakeAbsolute((FilePath)"../output/test-results/ios");
var ANDROID_PROJ = "./DeviceTests.Android/DeviceTests.Android.csproj";
var ANDROID_APK_PATH = MakeAbsolute((FilePath)"./DeviceTests.Android/bin/Debug/com.xamarin.essentials.devicetests-Signed.apk");
var ANDROID_INSTRUMENTATION_NAME = "com.xamarin.essentials.devicetests.TestInstrumentation";
var ANDROID_TEST_RESULTS_PATH = MakeAbsolute((FilePath)"../output/test-results/android");
var ANDROID_AVD = EnvironmentVariable("ANDROID_AVD") ?? "CABOODLE";
var ANDROID_PKG_NAME = "com.xamarin.essentials.devicetests";
var ANDROID_EMU_TARGET = Argument("avd-target", EnvironmentVariable("ANDROID_EMU_TARGET") ?? "system-images;android-30;google_apis_playstore;x86");
var ANDROID_EMU_DEVICE = Argument("avd-device", EnvironmentVariable("ANDROID_EMU_DEVICE") ?? "Nexus 5X");
var UWP_PROJ = "./DeviceTests.UWP/DeviceTests.UWP.csproj";
var UWP_TEST_RESULTS_PATH = MakeAbsolute((FilePath)"../output/test-results/uwp/TestResults.xml");
var UWP_PACKAGE_ID = "ec0cc741-fd3e-485c-81be-68815c480690";
var TCP_LISTEN_TIMEOUT = 240;
var TCP_LISTEN_PORT = 63559;
var TCP_LISTEN_HOST = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName())
.AddressList.First(f => f.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)
.ToString();
var OUTPUT_PATH = MakeAbsolute((DirectoryPath)"../output/");
var ANDROID_HOME = EnvironmentVariable("ANDROID_HOME");
System.Environment.SetEnvironmentVariable("PATH",
$"{ANDROID_HOME}/tools/bin" + System.IO.Path.PathSeparator +
$"{ANDROID_HOME}/platform-tools" + System.IO.Path.PathSeparator +
$"{ANDROID_HOME}/emulator" + System.IO.Path.PathSeparator +
EnvironmentVariable("PATH"));
// utils
Task DownloadTcpTextAsync(int port, FilePath filename, Action waitAction = null)
{
filename = MakeAbsolute(filename);
EnsureDirectoryExists(filename.GetDirectory());
return System.Threading.Tasks.Task.Run(() => {
var tcpListener = new System.Net.Sockets.TcpListener(System.Net.IPAddress.Any, port);
tcpListener.Start();
var listening = true;
System.Threading.Tasks.Task.Run(() => {
// Sleep until timeout elapses or tcp listener stopped after a successful connection
var elapsed = 0;
while(elapsed <= TCP_LISTEN_TIMEOUT && listening) {
System.Threading.Thread.Sleep(1000);
elapsed++;
Information($"Still waiting for tests... {elapsed}/{TCP_LISTEN_TIMEOUT}");
waitAction?.Invoke();
}
// If still listening, timeout elapsed, stop the listener
if (listening) {
tcpListener.Stop();
listening = false;
}
});
try {
var tcpClient = tcpListener.AcceptTcpClient();
using (var file = System.IO.File.Open(filename.FullPath, System.IO.FileMode.Create))
using (var stream = tcpClient.GetStream())
stream.CopyTo(file);
tcpClient.Close();
tcpListener.Stop();
listening = false;
} catch {
throw new Exception("Test results listener failed or timed out.");
}
});
}
// iOS tasks
Task("build-ios")
.Does(() =>
{
MSBuild(IOS_PROJ, c => {
c.Configuration = "Release";
c.Restore = true;
c.Properties["Platform"] = new List<string> { "iPhoneSimulator" };
c.Properties["BuildIpa"] = new List<string> { "true" };
c.Properties["ContinuousIntegrationBuild"] = new List<string> { "false" };
c.Targets.Clear();
c.Targets.Add("Rebuild");
c.BinaryLogger = new MSBuildBinaryLogSettings {
Enabled = true,
FileName = OUTPUT_PATH.CombineWithFilePath("binlogs/device-tests-ios-build.binlog").FullPath,
};
});
});
Task("test-ios-emu")
.IsDependentOn("build-ios")
.Does(() =>
{
// Clean up after previous runs
CleanDirectories(IOS_TEST_RESULTS_PATH.FullPath);
// Run the tests
var resultCode = StartProcess("xharness", "ios test " +
$"--app=\"{IOS_IPA_PATH}\" " +
$"--targets=\"ios-simulator-64\" " +
$"--output-directory=\"{IOS_TEST_RESULTS_PATH}\" " +
$"--verbosity=\"Debug\" ");
// Rename test result files
var resultFiles = GetFiles($"{IOS_TEST_RESULTS_PATH}/*.xml");
foreach (var resultFile in resultFiles) {
MoveFile(resultFile, resultFile.ChangeExtension("TestResults.xml"));
}
if (resultCode != 0)
throw new Exception("xharness had an error.");
});
// Android tasks
Task("build-android")
.Does(() =>
{
MSBuild(ANDROID_PROJ, c => {
c.Configuration = "Debug"; // needs to be debug so unit tests get discovered
c.Restore = true;
c.Properties["ContinuousIntegrationBuild"] = new List<string> { "false" };
c.Targets.Clear();
c.Targets.Add("Rebuild");
c.Targets.Add("SignAndroidPackage");
c.BinaryLogger = new MSBuildBinaryLogSettings {
Enabled = true,
FileName = OUTPUT_PATH.CombineWithFilePath("binlogs/device-tests-android-build.binlog").FullPath,
};
});
});
Task("test-android-emu")
.IsDependentOn("build-android")
.Does(() =>
{
// Clean up after previous runs
CleanDirectories(ANDROID_TEST_RESULTS_PATH.FullPath);
var avdSettings = new AndroidAvdManagerToolSettings { SdkRoot = ANDROID_HOME };
var adbSettings = new AdbToolSettings { SdkRoot = ANDROID_HOME };
var emuSettings = new AndroidEmulatorToolSettings { SdkRoot = ANDROID_HOME, ArgumentCustomization = args => args.Append("-no-window") };
// Delete AVD first, if it exists
Information("Deleting AVD if exists: {0}...", ANDROID_AVD);
try { AndroidAvdDelete(ANDROID_AVD, avdSettings); }
catch { }
// Create the AVD
Information("Creating AVD: {0}...", ANDROID_AVD);
AndroidAvdCreate(ANDROID_AVD, ANDROID_EMU_TARGET, ANDROID_EMU_DEVICE, force: true, settings: avdSettings);
// Start the emulator
Information("Starting Emulator: {0}...", ANDROID_AVD);
var emulatorProcess = AndroidEmulatorStart(ANDROID_AVD, emuSettings);
var waited = 0;
while (AdbShell("getprop sys.boot_completed", adbSettings).FirstOrDefault() != "1") {
System.Threading.Thread.Sleep(1000);
if (waited++ > 60 * 10)
break;
}
Information("Waited {0} seconds for the emulator to boot up.", waited);
// Run the tests
var resultCode = StartProcess("xharness", "android test " +
$"--app=\"{ANDROID_APK_PATH}\" " +
$"--package-name=\"{ANDROID_PKG_NAME}\" " +
$"--instrumentation=\"{ANDROID_INSTRUMENTATION_NAME}\" " +
$"--device-arch=\"x86\" " +
$"--output-directory=\"{ANDROID_TEST_RESULTS_PATH}\" " +
$"--verbosity=\"Debug\" ");
// Stop / cleanup the emulator
AdbEmuKill(adbSettings);
System.Threading.Thread.Sleep(5000);
// Kill the process if it has not already exited
try { emulatorProcess.Kill(); }
catch { }
if (resultCode != 0)
throw new Exception("xharness had an error.");
Information("Done Tests");
});
// UWP tasks
Task("build-uwp")
.Does(() =>
{
MSBuild(UWP_PROJ, c => {
c.Configuration = "Debug";
c.Restore = true;
c.Properties["ContinuousIntegrationBuild"] = new List<string> { "false" };
c.Properties["AppxBundlePlatforms"] = new List<string> { "x86" };
c.Properties["AppxBundle"] = new List<string> { "Always" };
c.Properties["AppxPackageSigningEnabled"] = new List<string> { "true" };
c.Targets.Clear();
c.Targets.Add("Rebuild");
c.BinaryLogger = new MSBuildBinaryLogSettings {
Enabled = true,
FileName = OUTPUT_PATH.CombineWithFilePath("binlogs/device-tests-uwp-build.binlog").FullPath,
};
});
});
Task("test-uwp-emu")
.IsDependentOn("build-uwp")
.WithCriteria(IsRunningOnWindows())
.Does(() =>
{
var uninstallPS = new Action(() => {
try {
StartProcess("powershell",
"$app = Get-AppxPackage -Name " + UWP_PACKAGE_ID + "; if ($app) { Remove-AppxPackage -Package $app.PackageFullName }");
} catch { }
});
// Try to uninstall the app if it exists from before
uninstallPS();
var certPath = GetFiles("./**/DeviceTests.UWP_TemporaryKey.pfx").First();
Information("Installing certificate: {0}", certPath);
StartProcess("certutil", "-p Microsoft -importpfx \"" + MakeAbsolute(certPath).FullPath + "\"");
// Install the appx
var dependencies = GetFiles("./**/AppPackages/**/Dependencies/x86/*.appx");
foreach (var dep in dependencies) {
Information("Installing Dependency appx: {0}", dep);
StartProcess("powershell", "Add-AppxPackage -Path \"" + MakeAbsolute(dep).FullPath + "\"");
}
var appxBundlePath = GetFiles("./**/AppPackages/**/*.msixbundle").First();
Information("Installing appx: {0}", appxBundlePath);
StartProcess("powershell", "Add-AppxPackage -Path \"" + MakeAbsolute(appxBundlePath).FullPath + "\"");
// Start the TCP Test results listener
Information("Started TCP Test Results Listener on port: {0}:{1}", TCP_LISTEN_HOST, TCP_LISTEN_PORT);
var tcpListenerTask = DownloadTcpTextAsync(TCP_LISTEN_PORT, UWP_TEST_RESULTS_PATH);
// Launch the app
Information("Running appx: {0}", appxBundlePath);
var ip = TCP_LISTEN_HOST.Replace(".", "-");
var executeCommand = $"xamarin-essentials-device-tests://{ip}_{TCP_LISTEN_PORT}";
Information("Running appx: {0}", executeCommand);
StartProcess("explorer", executeCommand);
// Wait for the test results to come back
Information("Waiting for tests...");
tcpListenerTask.Wait();
// Uninstall the app(this will terminate it too)
uninstallPS();
});
RunTarget(TARGET);

Просмотреть файл

@ -1,260 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
============================================================
SetupMDoc
Set all the variables needed for mdoc.
This runs during the build and package phases.
============================================================
-->
<Target Name="_MDocSetup">
<PropertyGroup>
<_ManagedExeLauncher Condition=" '$(OS)' != 'Windows_NT' And Exists ('/Library/Frameworks/Mono.framework/Versions/Current/bin/mono') ">/Library/Frameworks/Mono.framework/Versions/Current/bin/mono</_ManagedExeLauncher>
<_ManagedExeLauncher Condition=" '$(OS)' != 'Windows_NT' And Exists ('/usr/local/bin/mono') ">/usr/local/bin/mono</_ManagedExeLauncher>
<_ManagedExeLauncher Condition=" '$(OS)' != 'Windows_NT' And Exists ('/usr/bin/mono') ">/usr/bin/mono</_ManagedExeLauncher>
<_ManagedExeLauncher Condition=" '$(OS)' != 'Windows_NT' And '$(_ManagedExeLauncher)' == '' ">mono</_ManagedExeLauncher>
<MDocVersion Condition=" '%(Identity)' == 'mdoc' ">@(PackageReference -> '%(Version)')</MDocVersion>
<MDocPackagePath Condition=" '%(Name)' == 'mdoc' ">@(PackageDefinitions -> '%(ResolvedPath)')</MDocPackagePath>
<MDocPackagePath Condition=" '$(MDocPackagePath)' == '' ">$(NuGetPackageRoot)\mdoc\$(MDocVersion)</MDocPackagePath>
<MDocToolPath>$(MDocPackagePath)\tools\mdoc.exe</MDocToolPath>
<MDocOutputName>$(TargetName).xml</MDocOutputName>
<MDocOutputPath>$(TargetDir)$(MDocOutputName)</MDocOutputPath>
<_ShouldGenerateDocs Condition=" '$(MDocDocumentationDirectory)' != '' and Exists('$(MDocDocumentationDirectory)\index.xml') ">true</_ShouldGenerateDocs>
</PropertyGroup>
</Target>
<!--
============================================================
MDocGenerateDocs
Generated the XML documentation file using mdoc.
This runs during the build phase.
============================================================
-->
<Target Name="MDocGenerateDocs"
AfterTargets="CoreCompile" DependsOnTargets="_MDocSetup">
<ItemGroup Condition=" '$(_ShouldGenerateDocs)' == 'true' ">
<FileWrites Include="$(MDocOutputPath)" />
</ItemGroup>
<Exec Condition=" '$(_ShouldGenerateDocs)' == 'true' "
Command="$(_ManagedExeLauncher) &quot;$(MDocToolPath)&quot; export-msxdoc --debug --out=&quot;$(MDocOutputPath)&quot; &quot;$(MDocDocumentationDirectory)&quot;" />
</Target>
<!--
============================================================
MDocAddFilesToPackage
Make sure the mdoc output goes into the final package.
This runs during the package phase.
============================================================
-->
<Target Name="MDocAddFilesToPackage"
BeforeTargets="_GetBuildOutputFilesWithTfm" DependsOnTargets="_MDocSetup">
<ItemGroup Condition=" '$(_ShouldGenerateDocs)' == 'true' ">
<BuildOutputInPackage Include="$(MDocOutputPath)" TargetFramework="$(TargetFramework)" TargetPath="$(MDocOutputName)" />
</ItemGroup>
</Target>
<!--
============================================================
MDocUpdateDocs
Update the docs in the documentation directory using the
compiled assemblies.
This runs as a separate task.
============================================================
-->
<Target Name="MDocUpdateDocs"
DependsOnTargets="_MDocSetup">
<!-- bits for resolving references on Windows -->
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<FrameworkReferenceAssemblyPath>$(VsInstallRoot)\Common7\IDE\ReferenceAssemblies\Microsoft\Framework</FrameworkReferenceAssemblyPath>
<WindowsKitsReferenceAssemblyPath>$(MSBuildProgramFiles32)\Windows Kits\10\References\10.0.16299.0</WindowsKitsReferenceAssemblyPath>
</PropertyGroup>
<ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\MonoAndroid\v1.0" />
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\MonoAndroid\v10.0" />
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\Xamarin.iOS\v1.0" />
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\Xamarin.TVOS\v1.0" />
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\Xamarin.WatchOS\v1.0" />
<MDocReferenceAssembly Include="$(FrameworkReferenceAssemblyPath)\Xamarin.Mac\v2.0" />
<MDocReferenceAssembly Include="$(WindowsKitsReferenceAssemblyPath)\Windows.Foundation.FoundationContract\5.0.0.0" />
<MDocReferenceAssembly Include="$(WindowsKitsReferenceAssemblyPath)\Windows.Foundation.UniversalApiContract\5.0.0.0" />
</ItemGroup>
<!-- the actual task -->
<PropertyGroup>
<BinConfigDir>$(MSBuildProjectDirectory)\bin\$(Configuration)\</BinConfigDir>
<TmpDir>$(MSBuildProjectDirectory)\tmp\</TmpDir>
</PropertyGroup>
<ItemGroup>
<MDocReferenceAssembly Include="$(BinConfigDir)monoandroid10.0" />
</ItemGroup>
<PropertyGroup>
<MDocReferenceAssemblies>@(MDocReferenceAssembly -> '--lib=&quot;%(Identity)&quot;', ' ')</MDocReferenceAssemblies>
</PropertyGroup>
<RemoveDir Directories="$(TmpDir)" />
<MakeDir Directories="$(TmpDir)" />
<Copy SourceFiles="$(MDocDocumentationDirectory)\..\frameworks.xml" DestinationFolder="$(TmpDir)" />
<Copy SourceFiles="$(BinConfigDir)netstandard2.0\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials" />
<Copy SourceFiles="$(BinConfigDir)monoandroid10.0\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-android" />
<Copy SourceFiles="$(BinConfigDir)xamarin.ios10\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-ios" />
<Copy SourceFiles="$(BinConfigDir)xamarin.mac20\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-macos" />
<Copy SourceFiles="$(BinConfigDir)xamarin.tvos10\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-tvos" />
<Copy SourceFiles="$(BinConfigDir)xamarin.watchos10\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-watchos" />
<Copy SourceFiles="$(BinConfigDir)uap10.0.16299\$(AssemblyName).dll" DestinationFolder="$(TmpDir)xamarin-essentials-uwp" />
<Exec Command="$(_ManagedExeLauncher) &quot;$(MDocToolPath)&quot; update --debug --lang=DocId --delete --frameworks=&quot;$(TmpDir)frameworks.xml&quot; --out=&quot;$(MDocDocumentationDirectory)&quot; $(MDocReferenceAssemblies)" />
<_FormatDocs DocsRoot="$(MDocDocumentationDirectory)" />
<_VerifyAllDocsAreComplete DocsRoot="$(MDocDocumentationDirectory)" />
</Target>
<!--
============================================================
MDocVerifyDocs
Makes sure all the docs are filled in.
This runs as a separate task.
============================================================
-->
<Target Name="MDocVerifyDocs"
DependsOnTargets="_MDocSetup">
<_FormatDocs DocsRoot="$(MDocDocumentationDirectory)" />
<_VerifyAllDocsAreComplete DocsRoot="$(MDocDocumentationDirectory)" />
</Target>
<!--
===================================================================================================================
_FormatDocs
Make sure the docs are all uniform after editing in various apps or tools.
===================================================================================================================
-->
<UsingTask TaskName="_FormatDocs" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
<ParameterGroup>
<DocsRoot ParameterType="System.String" />
</ParameterGroup>
<Task>
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Using Namespace="System.Xml" />
<Using Namespace="System.Xml.Linq" />
<Code Type="Fragment" Language="cs"><![CDATA[
foreach (var file in Directory.EnumerateFiles(DocsRoot, "*.xml", SearchOption.AllDirectories)) {
var xdoc = XDocument.Load(file);
// special case for Android resources: don't process
if (xdoc.Root.Name == "Type") {
var nameAttr = xdoc.Root.Attribute("FullName");
if (nameAttr != null && (nameAttr.Value == "Xamarin.Essentials.Resource" || nameAttr.Value.StartsWith("Xamarin.Essentials.Resource+"))) {
File.Delete(file);
continue;
}
}
if (xdoc.Root.Name == "Overview") {
foreach (var type in xdoc.Root.Descendants("Type").ToArray()) {
var nameAttr = type.Attribute("Name");
if (nameAttr != null && (nameAttr.Value == "Resource" || nameAttr.Value.StartsWith("Resource+"))) {
type.Remove();
}
}
}
if (xdoc.Root.Name == "Framework") {
foreach (var type in xdoc.Root.Descendants("Type").ToArray()) {
var nameAttr = type.Attribute("Name");
if (nameAttr != null && (nameAttr.Value == "Xamarin.Essentials.Resource" || nameAttr.Value.StartsWith("Xamarin.Essentials.Resource/"))) {
type.Remove();
}
}
}
// the tooling can't handle the ToPlatform* that differs only on return types
if (xdoc.Root.Name == "Type") {
var typeNameAttr = xdoc.Root.Attribute("FullName");
if (typeNameAttr != null && typeNameAttr.Value.EndsWith("Extensions")) {
foreach (var member in xdoc.Root.Descendants("Member").ToArray()) {
var memberNameAttr = member.Attribute("MemberName");
if (memberNameAttr != null && memberNameAttr.Value.StartsWith("ToPlatform")) {
member.Remove();
}
}
}
}
if (xdoc.Root.Name == "Overview") {
foreach (var member in xdoc.Root.Descendants("Member").ToArray()) {
var memberNameAttr = member.Attribute("MemberName");
if (memberNameAttr != null && memberNameAttr.Value.StartsWith("ToPlatform")) {
member.Remove();
}
}
}
if (xdoc.Root.Name == "Framework") {
foreach (var type in xdoc.Root.Descendants("Type").ToArray()) {
var typeNameAttr = type.Attribute("Name");
if (typeNameAttr != null && typeNameAttr.Value.EndsWith("Extensions")) {
foreach (var member in type.Descendants("Member").ToArray()) {
var memberNameAttr = member.Attribute("Id");
if (memberNameAttr != null && memberNameAttr.Value.Contains(".ToPlatform")) {
member.Remove();
}
}
}
}
}
var settings = new XmlWriterSettings {
Encoding = new UTF8Encoding(),
Indent = true,
NewLineChars = "\n",
OmitXmlDeclaration = true,
};
using (var writer = XmlWriter.Create(file, settings)) {
xdoc.Save(writer);
writer.Flush();
}
File.AppendAllText(file, "\n");
}
]]></Code>
</Task>
</UsingTask>
<!--
===================================================================================================================
_VerifyAllDocsAreComplete
Make sure the docs are all filled in.
===================================================================================================================
-->
<UsingTask TaskName="_VerifyAllDocsAreComplete" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
<ParameterGroup>
<DocsRoot ParameterType="System.String" />
</ParameterGroup>
<Task>
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Using Namespace="System.IO" />
<Using Namespace="System.Xml" />
<Using Namespace="System.Xml.Linq" />
<Code Type="Fragment" Language="cs"><![CDATA[
foreach (var file in Directory.EnumerateFiles(DocsRoot, "*.xml", SearchOption.AllDirectories)) {
var xdoc = XDocument.Load(file);
var incomplete = xdoc.Descendants("Docs").Where(x => x.Descendants().Any(d => d.Value == "To be added."));
foreach (var node in incomplete) {
if (node.Parent.Name == "Type" && xdoc.Root.Name == "Type") {
var typename = xdoc.Root.Attribute("FullName").Value;
Log.LogWarning("Missing docs for {0}.", typename);
} else if (node.Parent.Name == "Member" && xdoc.Root.Name == "Type") {
var typename = xdoc.Root.Attribute("FullName").Value;
var member = node.Parent.Attribute("MemberName").Value;
var memberType = node.Parent.Element("MemberType").Value.ToLower();
Log.LogWarning("Missing docs for {2} '{0}.{1}'.", typename, member, memberType);
} else {
Log.LogWarning("Missing docs in {0}.", file);
}
}
}
]]></Code>
</Task>
</UsingTask>
</Project>

Просмотреть файл

@ -1,13 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"layoutRules": {
"newlineAtEndOfFile": "require"
},
"orderingRules": {
"systemUsingDirectivesFirst": true,
"usingDirectivesPlacement": "outsideNamespace"
}
}
}

Просмотреть файл

@ -48,9 +48,9 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE" PackagePath="" Pack="true" />
<None Include="..\Assets\xamarin.essentials_128x128.png" PackagePath="icon.png" Pack="true" />
<None Include="..\nugetreadme.txt" PackagePath="readme.txt" Pack="true" />
<None Include="..\..\..\..\LICENSE" PackagePath="" Pack="true" />
<None Include="..\..\..\..\Assets\xamarin.essentials_128x128.png" PackagePath="icon.png" Pack="true" />
<None Include="nugetreadme.txt" PackagePath="readme.txt" Pack="true" />
<PackageReference Include="mdoc" Version="5.7.4.10" PrivateAssets="All" />
<PackageReference Include="Xamarin.Build.TypeRedirector" Version="0.1.2-preview" PrivateAssets="all" />
<Compile Include="**\*.shared.cs" />

Просмотреть файл

@ -10,8 +10,8 @@
<TemplateGuid>{122416d6-6b49-4ee2-a1e8-b825f31c79fe}</TemplateGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Xamarin.Platform.Handlers.DeviceTests.Android</RootNamespace>
<AssemblyName>Xamarin.Platform.Handlers.DeviceTests.Android</AssemblyName>
<RootNamespace>Maui.DeviceTests.Android</RootNamespace>
<AssemblyName>Maui.DeviceTests.Android</AssemblyName>
<FileAlignment>512</FileAlignment>
<Deterministic>True</Deterministic>
<AndroidApplication>True</AndroidApplication>

Просмотреть файл

@ -8,9 +8,9 @@
<ProjectGuid>{EE8FC716-27FC-405B-BD27-AF17E01A6671}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>DeviceTests.iOS</RootNamespace>
<RootNamespace>Maui.DeviceTests.iOS</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>XamarinEssentialsDeviceTestsiOS</AssemblyName>
<AssemblyName>Maui.DeviceTests.iOS</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>