From bead5c9e783df3889e9eac3202bc86105af616a0 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 20:13:11 +0300 Subject: [PATCH 1/9] Update Android projects --- .../DeviceOrientation.Samples.Droid.csproj | 11 ++-- .../MainApplication.cs | 55 +++---------------- .../Properties/AndroidManifest.xml | 4 +- .../packages.config | 4 -- .../Plugin.DeviceOrientation.Android.csproj | 8 +-- .../packages.config | 4 -- 6 files changed, 19 insertions(+), 67 deletions(-) delete mode 100644 samples/DeviceOrientation.Samples.Droid/packages.config delete mode 100644 src/DeviceOrientation/Plugin.DeviceOrientation.Android/packages.config diff --git a/samples/DeviceOrientation.Samples.Droid/DeviceOrientation.Samples.Droid.csproj b/samples/DeviceOrientation.Samples.Droid/DeviceOrientation.Samples.Droid.csproj index 5d483dd..00fcde1 100644 --- a/samples/DeviceOrientation.Samples.Droid/DeviceOrientation.Samples.Droid.csproj +++ b/samples/DeviceOrientation.Samples.Droid/DeviceOrientation.Samples.Droid.csproj @@ -12,8 +12,7 @@ Resource Resources\Resource.designer.cs True - True - v7.1 + v8.0 DeviceOrientation.Samples.Droid Properties\AndroidManifest.xml @@ -38,14 +37,15 @@ false - - ..\packages\Plugin.CurrentActivity.1.0.1\lib\MonoAndroid10\Plugin.CurrentActivity.dll - + + + + {6edb0588-ffc5-4ef5-8a99-9e241d0f878d} @@ -66,7 +66,6 @@ - diff --git a/samples/DeviceOrientation.Samples.Droid/MainApplication.cs b/samples/DeviceOrientation.Samples.Droid/MainApplication.cs index 70393e2..070d5a7 100644 --- a/samples/DeviceOrientation.Samples.Droid/MainApplication.cs +++ b/samples/DeviceOrientation.Samples.Droid/MainApplication.cs @@ -1,63 +1,26 @@ -using System; - +using System; using Android.App; -using Android.OS; using Android.Runtime; using Plugin.CurrentActivity; namespace DeviceOrientation.Samples.Droid { - //You can specify additional application information in this attribute - [Application] - public class MainApplication : Application, Application.IActivityLifecycleCallbacks +#if DEBUG + [Application(Debuggable = true)] +#else + [Application(Debuggable = false)] +#endif + public class MainApplication : Application { public MainApplication(IntPtr handle, JniHandleOwnership transer) - :base(handle, transer) + : base(handle, transer) { } public override void OnCreate() { base.OnCreate(); - RegisterActivityLifecycleCallbacks(this); - //A great place to initialize Xamarin.Insights and Dependency Services! - } - - public override void OnTerminate() - { - base.OnTerminate(); - UnregisterActivityLifecycleCallbacks(this); - } - - public void OnActivityCreated(Activity activity, Bundle savedInstanceState) - { - CrossCurrentActivity.Current.Activity = activity; - } - - public void OnActivityDestroyed(Activity activity) - { - } - - public void OnActivityPaused(Activity activity) - { - } - - public void OnActivityResumed(Activity activity) - { - CrossCurrentActivity.Current.Activity = activity; - } - - public void OnActivitySaveInstanceState(Activity activity, Bundle outState) - { - } - - public void OnActivityStarted(Activity activity) - { - CrossCurrentActivity.Current.Activity = activity; - } - - public void OnActivityStopped(Activity activity) - { + CrossCurrentActivity.Current.Init(this); } } } \ No newline at end of file diff --git a/samples/DeviceOrientation.Samples.Droid/Properties/AndroidManifest.xml b/samples/DeviceOrientation.Samples.Droid/Properties/AndroidManifest.xml index 1b619fc..04d40fa 100644 --- a/samples/DeviceOrientation.Samples.Droid/Properties/AndroidManifest.xml +++ b/samples/DeviceOrientation.Samples.Droid/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + - + \ No newline at end of file diff --git a/samples/DeviceOrientation.Samples.Droid/packages.config b/samples/DeviceOrientation.Samples.Droid/packages.config deleted file mode 100644 index 77b8f9b..0000000 --- a/samples/DeviceOrientation.Samples.Droid/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.Android/Plugin.DeviceOrientation.Android.csproj b/src/DeviceOrientation/Plugin.DeviceOrientation.Android/Plugin.DeviceOrientation.Android.csproj index bcc1c1e..dd7bc72 100644 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.Android/Plugin.DeviceOrientation.Android.csproj +++ b/src/DeviceOrientation/Plugin.DeviceOrientation.Android/Plugin.DeviceOrientation.Android.csproj @@ -14,7 +14,6 @@ 512 Resources\Resource.Designer.cs Off - true True v8.0 @@ -39,14 +38,14 @@ - - ..\..\packages\Plugin.CurrentActivity.1.0.1\lib\MonoAndroid10\Plugin.CurrentActivity.dll - + + + CrossDeviceOrientation.cs @@ -56,7 +55,6 @@ - diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.Android/packages.config b/src/DeviceOrientation/Plugin.DeviceOrientation.Android/packages.config deleted file mode 100644 index d10a9dc..0000000 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.Android/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file From c47d002469c2e18b04e8787521df09f459820977 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 20:14:09 +0300 Subject: [PATCH 2/9] Update abstraction projects to netstandard2.0 --- .../Plugin.DeviceOrientation.Abstractions.csproj | 7 ++----- .../Plugin.DeviceOrientation.Abstractions/project.json | 10 ---------- .../Plugin.DeviceOrientation/CrossDeviceOrientation.cs | 2 +- .../Plugin.DeviceOrientation.csproj | 9 +-------- .../Plugin.DeviceOrientation/project.json | 10 ---------- 5 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/project.json delete mode 100644 src/DeviceOrientation/Plugin.DeviceOrientation/project.json diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/Plugin.DeviceOrientation.Abstractions.csproj b/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/Plugin.DeviceOrientation.Abstractions.csproj index 6a5c2e9..2005ebc 100644 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/Plugin.DeviceOrientation.Abstractions.csproj +++ b/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/Plugin.DeviceOrientation.Abstractions.csproj @@ -2,16 +2,13 @@ - netstandard1.0 + netstandard2.0 Plugin.DeviceOrientation.Abstractions Plugin.DeviceOrientation.Abstractions - bin\Release\netstandard1.0\Plugin.DeviceOrientation.Abstractions.xml + 3 - - - \ No newline at end of file diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/project.json b/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/project.json deleted file mode 100644 index 7f4faa9..0000000 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.Abstractions/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "supports": {}, - "dependencies": { - "Microsoft.NETCore.Portable.Compatibility": "1.0.1", - "NETStandard.Library": "1.6.1" - }, - "frameworks": { - "netstandard1.0": {} - } -} \ No newline at end of file diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs b/src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs index e750fc8..0ffd44b 100644 --- a/src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs +++ b/src/DeviceOrientation/Plugin.DeviceOrientation/CrossDeviceOrientation.cs @@ -33,7 +33,7 @@ public static IDeviceOrientation Current private static IDeviceOrientation CreateDeviceOrientation() { -#if NETSTANDARD1_0 +#if NETSTANDARD2_0 return null; #else return new DeviceOrientationImplementation(); diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation/Plugin.DeviceOrientation.csproj b/src/DeviceOrientation/Plugin.DeviceOrientation/Plugin.DeviceOrientation.csproj index 0e64afc..af070e2 100644 --- a/src/DeviceOrientation/Plugin.DeviceOrientation/Plugin.DeviceOrientation.csproj +++ b/src/DeviceOrientation/Plugin.DeviceOrientation/Plugin.DeviceOrientation.csproj @@ -2,20 +2,13 @@ - netstandard1.0 + netstandard2.0 Plugin.DeviceOrientation Plugin.DeviceOrientation - - bin\Release\netstandard1.0\Plugin.DeviceOrientation.xml - - - - - \ No newline at end of file diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation/project.json b/src/DeviceOrientation/Plugin.DeviceOrientation/project.json deleted file mode 100644 index 7f4faa9..0000000 --- a/src/DeviceOrientation/Plugin.DeviceOrientation/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "supports": {}, - "dependencies": { - "Microsoft.NETCore.Portable.Compatibility": "1.0.1", - "NETStandard.Library": "1.6.1" - }, - "frameworks": { - "netstandard1.0": {} - } -} \ No newline at end of file From ba47c1fdbcc11e49f1ca2a77e850a4e6ddc743ab Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 20:28:02 +0300 Subject: [PATCH 3/9] Aut update csproj for iOS sample --- .../DeviceOrientation.Samples.iOS.csproj | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/samples/DeviceOrientation.Samples.iOS/DeviceOrientation.Samples.iOS.csproj b/samples/DeviceOrientation.Samples.iOS/DeviceOrientation.Samples.iOS.csproj index b477821..363b4ac 100644 --- a/samples/DeviceOrientation.Samples.iOS/DeviceOrientation.Samples.iOS.csproj +++ b/samples/DeviceOrientation.Samples.iOS/DeviceOrientation.Samples.iOS.csproj @@ -19,7 +19,7 @@ prompt 4 false - i386 + i386, x86_64 None true true @@ -82,55 +82,55 @@ - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false - false + false From ce37e6e6ad91d057711c91935bccf20d7c1438a6 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 21:57:36 +0300 Subject: [PATCH 4/9] Update UWP projects --- .../DeviceOrientation.Samples.UWP.csproj | 23 +++++++++-- .../project.json | 19 ---------- .../DeviceOrientation.Samples.csproj | 38 +++++-------------- samples/DeviceOrientation.Samples/MyClass.cs | 12 ------ .../Properties/AssemblyInfo.cs | 27 ------------- .../Plugin.DeviceOrientation.UWP.csproj | 9 ++--- .../Plugin.DeviceOrientation.UWP/project.json | 16 -------- 7 files changed, 32 insertions(+), 112 deletions(-) delete mode 100644 samples/DeviceOrientation.Samples.UWP/project.json delete mode 100644 samples/DeviceOrientation.Samples/MyClass.cs delete mode 100644 samples/DeviceOrientation.Samples/Properties/AssemblyInfo.cs delete mode 100644 src/DeviceOrientation/Plugin.DeviceOrientation.UWP/project.json diff --git a/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj b/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj index f03b612..782c9a3 100644 --- a/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj +++ b/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj @@ -11,12 +11,13 @@ DeviceOrientation.Samples.UWP en-US UAP - 10.0.10586.0 - 10.0.10240.0 + 10.0.17763.0 + 10.0.16299.0 14 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} DeviceOrientation.Samples.UWP_TemporaryKey.pfx + win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot true @@ -87,12 +88,14 @@ true true + + PackageReference + PreserveNewest - @@ -143,6 +146,20 @@ DeviceOrientation.Samples + + + 1.0.0 + + + 1.0.0 + + + 1.0.0 + + + 6.2.3 + + 14.0 diff --git a/samples/DeviceOrientation.Samples.UWP/project.json b/samples/DeviceOrientation.Samples.UWP/project.json deleted file mode 100644 index d06db1b..0000000 --- a/samples/DeviceOrientation.Samples.UWP/project.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "dependencies": { - "Microsoft.ApplicationInsights": "1.0.0", - "Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0", - "Microsoft.ApplicationInsights.WindowsApps": "1.0.0", - "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.3" - }, - "frameworks": { - "uap10.0": {} - }, - "runtimes": { - "win10-arm": {}, - "win10-arm-aot": {}, - "win10-x86": {}, - "win10-x86-aot": {}, - "win10-x64": {}, - "win10-x64-aot": {} - } -} \ No newline at end of file diff --git a/samples/DeviceOrientation.Samples/DeviceOrientation.Samples.csproj b/samples/DeviceOrientation.Samples/DeviceOrientation.Samples.csproj index f91a4cb..5276857 100644 --- a/samples/DeviceOrientation.Samples/DeviceOrientation.Samples.csproj +++ b/samples/DeviceOrientation.Samples/DeviceOrientation.Samples.csproj @@ -1,38 +1,18 @@  - + + - Debug - AnyCPU - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - {1359B846-CF5E-456E-815E-D617B7C5B31B} - Library + netstandard2.0 DeviceOrientation.Samples DeviceOrientation.Samples - v4.5 - Profile111 - 10.0 - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - false - - - full - true - bin\Release - prompt - 4 - false + + + 3 + - - + - + \ No newline at end of file diff --git a/samples/DeviceOrientation.Samples/MyClass.cs b/samples/DeviceOrientation.Samples/MyClass.cs deleted file mode 100644 index 1291c78..0000000 --- a/samples/DeviceOrientation.Samples/MyClass.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace DeviceOrientation.Samples -{ - public class MyClass - { - public MyClass() - { - } - } -} - diff --git a/samples/DeviceOrientation.Samples/Properties/AssemblyInfo.cs b/samples/DeviceOrientation.Samples/Properties/AssemblyInfo.cs deleted file mode 100644 index c1d7e6e..0000000 --- a/samples/DeviceOrientation.Samples/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle("DeviceOrientation.Samples")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("joe")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/Plugin.DeviceOrientation.UWP.csproj b/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/Plugin.DeviceOrientation.UWP.csproj index 43f7e0e..69bacd2 100644 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/Plugin.DeviceOrientation.UWP.csproj +++ b/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/Plugin.DeviceOrientation.UWP.csproj @@ -11,11 +11,12 @@ Plugin.DeviceOrientation en-US UAP - 10.0.10586.0 - 10.0.10240.0 + 10.0.17763.0 + 10.0.16299.0 14 512 {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot AnyCPU @@ -104,10 +105,6 @@ false prompt - - - - CrossDeviceOrientation.cs diff --git a/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/project.json b/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/project.json deleted file mode 100644 index 77bf149..0000000 --- a/src/DeviceOrientation/Plugin.DeviceOrientation.UWP/project.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.3" - }, - "frameworks": { - "uap10.0": {} - }, - "runtimes": { - "win10-arm": {}, - "win10-arm-aot": {}, - "win10-x86": {}, - "win10-x86-aot": {}, - "win10-x64": {}, - "win10-x64-aot": {} - } -} \ No newline at end of file From dc94d04d48dc8a152f877d6b97fbe591fc5b6042 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 22:05:49 +0300 Subject: [PATCH 5/9] Update nuspec --- nuget/DeviceOrientation.nuspec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/nuget/DeviceOrientation.nuspec b/nuget/DeviceOrientation.nuspec index f58e3de..98f4378 100644 --- a/nuget/DeviceOrientation.nuspec +++ b/nuget/DeviceOrientation.nuspec @@ -2,7 +2,7 @@ Plugin.DeviceOrientation - 1.0.7 + 2.0.0-beta Device Orientation Plugin for Xamarin and Windows Yauheni Pakala Yauheni Pakala @@ -13,23 +13,19 @@ Simple cross-platform plugin to work with screen orientation of mobile device. - - + See: https://github.com/wcoder/Xamarin.Plugin.DeviceOrientation/releases Simple cross-platform plugin to work with screen orientation of mobile device. - xamarin, pcl, xam.pcl, orientation, .netstandart, uwp, android, xamarin.forms, ios, orientation lock, device orientation + xamarin, orientation, .netstandart, uwp, android, xamarin.forms, ios, orientation lock, device orientation - - - - + - + From f5c29a9062ffd0795003ccce31d16945d62df179 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 22:14:18 +0300 Subject: [PATCH 6/9] Update README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 14e61cf..f4bbceb 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,11 @@ Simple cross-platform plugin to work with screen orientation of mobile device. |Platform|Version| | ------------------- | :------------------: | -|Xamarin.iOS|iOS 6+| -|Xamarin.Android|API 14+| -|Windows 10 UWP|10.0.10240+| +|Xamarin.iOS|iOS 10+| +|Xamarin.Android|API 19+| +|Windows 10 UWP|10.0.16299+| + +v2.0 updated to NetStandard 2.0 #### Deprecated platforms @@ -143,4 +145,4 @@ public override void OnConfigurationChanged(Configuration newConfig) * [Yauheni Pakala](https://github.com/wcoder) --- -© 2018 MIT License +© 2016-2019 MIT License From 7ec4d6e6ef6b84bdab9e4b4db96dd6538bf26b27 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 9 Feb 2019 23:20:41 +0300 Subject: [PATCH 7/9] Fix src sln --- src/DeviceOrientation.sln | 78 --------------------------------------- 1 file changed, 78 deletions(-) diff --git a/src/DeviceOrientation.sln b/src/DeviceOrientation.sln index 400ccf8..617e72a 100644 --- a/src/DeviceOrientation.sln +++ b/src/DeviceOrientation.sln @@ -11,12 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.iO EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.Android", "DeviceOrientation\Plugin.DeviceOrientation.Android\Plugin.DeviceOrientation.Android.csproj", "{56A56F17-7DE1-4CA1-9617-BF32E971AC84}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.WindowsPhone8", "DeviceOrientation\Plugin.DeviceOrientation.WindowsPhone8\Plugin.DeviceOrientation.WindowsPhone8.csproj", "{5876144B-47DD-4C4E-B421-BC03F191B996}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.WindowsPhone81", "DeviceOrientation\Plugin.DeviceOrientation.WindowsPhone81\Plugin.DeviceOrientation.WindowsPhone81.csproj", "{7169373F-0B82-4E5D-9129-7CC3065B90FA}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.WindowsStore", "DeviceOrientation\Plugin.DeviceOrientation.WindowsStore\Plugin.DeviceOrientation.WindowsStore.csproj", "{ED9A4CA1-C04C-457D-9A2E-7995CCF12356}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin.DeviceOrientation.UWP", "DeviceOrientation\Plugin.DeviceOrientation.UWP\Plugin.DeviceOrientation.UWP.csproj", "{E34B516D-C0D8-450F-9DB0-BB6A5B04AEF1}" EndProject Global @@ -131,78 +125,6 @@ Global {56A56F17-7DE1-4CA1-9617-BF32E971AC84}.Release|x64.Build.0 = Release|Any CPU {56A56F17-7DE1-4CA1-9617-BF32E971AC84}.Release|x86.ActiveCfg = Release|Any CPU {56A56F17-7DE1-4CA1-9617-BF32E971AC84}.Release|x86.Build.0 = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|Any CPU.ActiveCfg = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|Any CPU.Build.0 = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|ARM.ActiveCfg = Release|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|ARM.Build.0 = Release|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|x64.ActiveCfg = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|x64.Build.0 = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|x86.ActiveCfg = Release|x86 - {5876144B-47DD-4C4E-B421-BC03F191B996}.AppStore|x86.Build.0 = Release|x86 - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|ARM.ActiveCfg = Debug|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|ARM.Build.0 = Debug|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|x64.ActiveCfg = Debug|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|x64.Build.0 = Debug|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|x86.ActiveCfg = Debug|x86 - {5876144B-47DD-4C4E-B421-BC03F191B996}.Debug|x86.Build.0 = Debug|x86 - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|Any CPU.Build.0 = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|ARM.ActiveCfg = Release|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|ARM.Build.0 = Release|ARM - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|x64.ActiveCfg = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|x64.Build.0 = Release|Any CPU - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|x86.ActiveCfg = Release|x86 - {5876144B-47DD-4C4E-B421-BC03F191B996}.Release|x86.Build.0 = Release|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|Any CPU.ActiveCfg = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|Any CPU.Build.0 = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|ARM.ActiveCfg = Release|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|ARM.Build.0 = Release|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|x64.ActiveCfg = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|x64.Build.0 = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|x86.ActiveCfg = Release|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.AppStore|x86.Build.0 = Release|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|ARM.ActiveCfg = Debug|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|ARM.Build.0 = Debug|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|x64.ActiveCfg = Debug|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|x64.Build.0 = Debug|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|x86.ActiveCfg = Debug|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Debug|x86.Build.0 = Debug|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|Any CPU.Build.0 = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|ARM.ActiveCfg = Release|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|ARM.Build.0 = Release|ARM - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|x64.ActiveCfg = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|x64.Build.0 = Release|Any CPU - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|x86.ActiveCfg = Release|x86 - {7169373F-0B82-4E5D-9129-7CC3065B90FA}.Release|x86.Build.0 = Release|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|Any CPU.ActiveCfg = Release|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|Any CPU.Build.0 = Release|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|ARM.ActiveCfg = Release|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|ARM.Build.0 = Release|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|x64.ActiveCfg = Release|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|x64.Build.0 = Release|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|x86.ActiveCfg = Release|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.AppStore|x86.Build.0 = Release|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|ARM.ActiveCfg = Debug|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|ARM.Build.0 = Debug|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|x64.ActiveCfg = Debug|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|x64.Build.0 = Debug|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|x86.ActiveCfg = Debug|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Debug|x86.Build.0 = Debug|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|Any CPU.Build.0 = Release|Any CPU - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|ARM.ActiveCfg = Release|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|ARM.Build.0 = Release|ARM - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|x64.ActiveCfg = Release|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|x64.Build.0 = Release|x64 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|x86.ActiveCfg = Release|x86 - {ED9A4CA1-C04C-457D-9A2E-7995CCF12356}.Release|x86.Build.0 = Release|x86 {E34B516D-C0D8-450F-9DB0-BB6A5B04AEF1}.AppStore|Any CPU.ActiveCfg = Release|Any CPU {E34B516D-C0D8-450F-9DB0-BB6A5B04AEF1}.AppStore|Any CPU.Build.0 = Release|Any CPU {E34B516D-C0D8-450F-9DB0-BB6A5B04AEF1}.AppStore|ARM.ActiveCfg = Release|ARM From 1341e8a29b8aacfe32651c5efdf87cd36b900036 Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 2 Mar 2019 12:53:34 +0300 Subject: [PATCH 8/9] Remove ApplicationInsights from UWP samples project --- .../DeviceOrientation.Samples.UWP/App.xaml.cs | 15 +-------------- .../ApplicationInsights.config | 3 --- .../DeviceOrientation.Samples.UWP.csproj | 17 +---------------- 3 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 samples/DeviceOrientation.Samples.UWP/ApplicationInsights.config diff --git a/samples/DeviceOrientation.Samples.UWP/App.xaml.cs b/samples/DeviceOrientation.Samples.UWP/App.xaml.cs index 8c2f0c1..97b9f7d 100644 --- a/samples/DeviceOrientation.Samples.UWP/App.xaml.cs +++ b/samples/DeviceOrientation.Samples.UWP/App.xaml.cs @@ -1,18 +1,8 @@ using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; -using Windows.Foundation; -using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; namespace DeviceOrientation.Samples.UWP @@ -28,10 +18,7 @@ sealed partial class App : Application /// public App() { - Microsoft.ApplicationInsights.WindowsAppInitializer.InitializeAsync( - Microsoft.ApplicationInsights.WindowsCollectors.Metadata | - Microsoft.ApplicationInsights.WindowsCollectors.Session); - this.InitializeComponent(); + this.InitializeComponent(); this.Suspending += OnSuspending; } diff --git a/samples/DeviceOrientation.Samples.UWP/ApplicationInsights.config b/samples/DeviceOrientation.Samples.UWP/ApplicationInsights.config deleted file mode 100644 index cb2a232..0000000 --- a/samples/DeviceOrientation.Samples.UWP/ApplicationInsights.config +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj b/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj index 782c9a3..806d600 100644 --- a/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj +++ b/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP.csproj @@ -91,12 +91,6 @@ PackageReference - - - - PreserveNewest - - App.xaml @@ -147,17 +141,8 @@ - - 1.0.0 - - - 1.0.0 - - - 1.0.0 - - 6.2.3 + 6.1.9 From 0f781b47a57c92d35a80d3b306903eff8db2fd7d Mon Sep 17 00:00:00 2001 From: Yauheni Pakala Date: Sat, 2 Mar 2019 12:54:05 +0300 Subject: [PATCH 9/9] Add UWP pfx for samples --- .gitignore | 2 +- ...eviceOrientation.Samples.UWP_TemporaryKey.pfx | Bin 0 -> 2504 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP_TemporaryKey.pfx diff --git a/.gitignore b/.gitignore index c49601c..346c6f5 100644 --- a/.gitignore +++ b/.gitignore @@ -198,7 +198,7 @@ ClientBin/ *~ *.dbmdl *.dbproj.schemaview -*.pfx +#*.pfx *.publishsettings node_modules/ orleans.codegen.cs diff --git a/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP_TemporaryKey.pfx b/samples/DeviceOrientation.Samples.UWP/DeviceOrientation.Samples.UWP_TemporaryKey.pfx new file mode 100644 index 0000000000000000000000000000000000000000..772720906f899ba85d7454e899d13c67c5e1447a GIT binary patch literal 2504 zcmZWpcQo8t8~%+M!;CIQ5S>A^j54Ao7<(`wN=Ar8?~!Hn7H#yl1W_VnL|KUlq6RUd zMoY*Fkyv%2XLj_(Vt>2m`*zQFzI)Dl@B2K@``-8da~})|(ZK+LVn~QkI6^kjDDi*| z!UQ3c5MD46!VRRIFeJw9|B)D%U?j#lkp2qB6rANhU93n51DOQd$Bejp(28I*x5e^la`hc=4yvpD@bE-t zB%HRSGIHg{XFJI))h0`^)}&>rIlaMQ;)PlPuI2=2wyZp^Dz21%3w}@Xg0zFB{!doF zsnp<^VK7+HkaYE}OZuZ#O&1el8JR*`i+jEHJf8Usx6hQH*haA)qqft9oWCU_SI zv1qjGL8l|0Fl}^&5Xr*Yrx3!;Pc)klNbgh%!T8|fAl-S5<# zO*8K2az4*iT5L2erc6Kfv#f=ms753X)%x~(*S~relI>=6$1f7@WXF4$Yo5oFHbKjP zM7J=BWOrz2xike_tjyTJL(8u@6U-hy6`^OcTD|+kDRCsFtnHwsD#@X!E?0KIxkMP$IW)Un_bAY3hyF&>3wk{CnYie<+jS z$C8}N@rq79U*fL3N~3G#thMptKz%~(h4souy85z!rA_rq%LlDRv}NIj*-iT*@| z3!(f*V}mh}t>Kpb)yz5E3}+#e8CI=&Gfh`?aF4i}C#{Wvm7Eio>YtCcOGmN4r5AYe zmGb0K>{sA4`ZOiqCh&z(djr&0wt~Ud5+x0Uxm`Cm*o{fMo+idL6E^flNDb=KEIdTq z6<$!!hw1Rmd$+5tuSJmzOM0~AhfbXuuY4Wh8j*$==kN1Gki!c0h4=L~w0L{DOSpEj ztR=AAoJzxAgqV~8YSE9~7kEV`*W=9V>CcmFUCX~^ST%{e_i0v~^?1G1Xs^A{=WthC$>A$LsmYVUDcqd0j@8gpLm8KjQMHPzi)nhQt1prw=fZI< zG^ae{)&6gkNok2Tx0(+1w%10=n_8QrJf&lwPytsLgnuH~&EH!I^( z)B6=~b6K>g`xkWyR`Rqm;e;I`tze00iOrbz{GcY#;xL`(@xraUf!akY#<$<4Qdobk zm;3>FdiR`KB>N_IY&k&)7v z$aB$GPu=W7ibxvUx>|3tLnBsx4Y?@rB{x%RE1^f3&xGw7@{S#H8E+GeF+IwxM{Y+1 zkKV5dvi>^1Kj+}Wi3Lud(#~x(y4Vva1upl$=jLd~LA+Gn=MA?kvDd4q2In*xlvO|= ztT)w=u&Y5LKN#-s_HIM)OnRN^a!x-F-#Z>(v`0(ktfgUK2I1|D-%Z{vTnWo%t8#pC zrW8AhIrooEB2Y?j7z_dc0LJ=Xl1B+IYy`Lf?tmJg3}^tVz-2I30F(d~zzIYOU?>6V zAgchX8h{&s0W)>51`8rA;0!8CAaViglreU2gd7|KgODzBL6ppeuLGul7by7yzCZvN z?m!?Q3futqzZf6D14KA54+DrG=L=$ga3~S*{JTpOF#o$Q7(}k%V1En=>haIZnc!p+ z)CQyo3=jZ3O#f9N|8Mmkh3?v~ZX;^`vicYjRMar&{Y3+@=rK8W&Dk#|rOEpxO&_ul zWeZeKAEi2InAww_!dl+hROjL)mY^JRoR(H!QRl5+X(^!{Q3-#ofrFCEnXz-+%!|A*+2v>?-*n8E zLye#cTs<9KrCjS2+7G%acY&yt`v+k>1jU<|tTfk48gW z_3>uN!~A(8 ztV?)xX%x*d>;A;=WV{es^X?3CjFAFwJo)AIK!W-{0utd>i*lai#~qHl1n3xdj-WG5 z6<@n9mQVTcu65mrS<{o#uM#>rZj9rv36g6BQzx?C2kI96@BT^Z5{kO!0+o?$zyt+Lv zbnm!Jo`}pg35F&Zo3F&*Mn_4x-1v0skx_41>Zg6}XcdF9&xPj%c?VjEgF}acYnx{| zN3hrH2KM|SLIQp%21U3xZ?+=4{kNl1>-LUNgxI4!8}iKfK#vT%`Agjc->WL67VAyW`;TPEFV9zXXa-Mt^;3FAQ@Jb7-)_&BFhQqM`VKLu6( O-uwGs9}KjZzt^8wgH-we literal 0 HcmV?d00001