From 9b837f61fd96f3598d6f87a6006a6b97b5f17c48 Mon Sep 17 00:00:00 2001 From: Gus Date: Tue, 6 Aug 2019 21:56:29 +0200 Subject: [PATCH] Fixed compilation issues --- Chat.Common/Chat.Common.csproj | 9 --------- Chat.Common/ContactUtils.cs | 12 ++++++------ Package.appxmanifest | 2 +- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/Chat.Common/Chat.Common.csproj b/Chat.Common/Chat.Common.csproj index 4e29f87..1ce1ec0 100644 --- a/Chat.Common/Chat.Common.csproj +++ b/Chat.Common/Chat.Common.csproj @@ -127,19 +127,10 @@ - - 8.10.16 - 6.2.8 - - - {76e62544-dfba-4aec-8309-a441176abf2d} - LibPhoneNumber.Contrib - - 14.0 diff --git a/Chat.Common/ContactUtils.cs b/Chat.Common/ContactUtils.cs index dfa73c6..4204120 100644 --- a/Chat.Common/ContactUtils.cs +++ b/Chat.Common/ContactUtils.cs @@ -1,5 +1,5 @@ -using PhoneNumbers; -using LibPhoneNumber.Contrib.PhoneNumberUtil; +//using PhoneNumbers; +//using LibPhoneNumber.Contrib.PhoneNumberUtil; using System; using System.Collections.Generic; using System.Linq; @@ -38,20 +38,20 @@ public static async Task GetMyself() private static (string, string) GetPhoneNumberInformation(string phonenumber) { - PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance(); + /*PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance(); PhoneNumber number; var supportedCodes = phoneUtil.GetSupportedRegions().ToArray(); - var result = phoneUtil.TryGetValidNumber(phonenumber, supportedCodes, out number); + var result = phoneUtil.TryGetValidNumber(phonenumber, supportedCodes, out number);*/ var countrycode = ""; var nationalnumber = phonenumber; - if (result) + /*if (result) { countrycode = number.CountryCode.ToString(); nationalnumber = number.NationalNumber.ToString(); - } + }*/ return (nationalnumber, countrycode); } diff --git a/Package.appxmanifest b/Package.appxmanifest index 0da23e7..7b2e8da 100644 --- a/Package.appxmanifest +++ b/Package.appxmanifest @@ -10,7 +10,7 @@ + Version="0.0.58.0" />