diff options
author | WonYoung Choi <wy80.choi@samsung.com> | 2017-01-12 10:17:04 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:36:48 +0900 |
commit | 0066f496be35b3d35a281cb09bd8092900f7a2d2 (patch) | |
tree | 1d4b1ba367fda9f9f2bbb7b3ff29f22e881fb8de | |
parent | c0c3d69e0c689110d760b507377d435e1d7aa03c (diff) | |
download | xamarin-forms-0066f496be35b3d35a281cb09bd8092900f7a2d2.tar.gz xamarin-forms-0066f496be35b3d35a281cb09bd8092900f7a2d2.tar.bz2 xamarin-forms-0066f496be35b3d35a281cb09bd8092900f7a2d2.zip |
Remove NET45 code
Change-Id: I90202d17b86d0e6e8449048367d422a790fff589
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Forms.cs | 2 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/ResourcePath.cs | 15 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs | 2 |
3 files changed, 0 insertions, 19 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Forms.cs b/Xamarin.Forms.Platform.Tizen/Forms.cs index 453bab82..da2d98d3 100644 --- a/Xamarin.Forms.Platform.Tizen/Forms.cs +++ b/Xamarin.Forms.Platform.Tizen/Forms.cs @@ -126,7 +126,6 @@ namespace Xamarin.Forms.Platform.Tizen //TO-DO: Need to change to Tizen. Device.OS = TargetPlatform.Other; -#if !NET45 // In .NETCore, AppDomain feature is not supported. // The list of assemblies returned by AppDomain.GetAssemblies() method should be registered manually. // The assembly of the executing application and referenced assemblies of it are added into the list here. @@ -147,7 +146,6 @@ namespace Xamarin.Forms.Platform.Tizen } } } -#endif Device.PlatformServices = new TizenPlatformServices(); ; if (Device.info != null) diff --git a/Xamarin.Forms.Platform.Tizen/ResourcePath.cs b/Xamarin.Forms.Platform.Tizen/ResourcePath.cs index d2387793..918a4794 100644 --- a/Xamarin.Forms.Platform.Tizen/ResourcePath.cs +++ b/Xamarin.Forms.Platform.Tizen/ResourcePath.cs @@ -1,7 +1,4 @@ using System.IO; -#if NET45 -using System.Reflection; -#endif using AppFW = Tizen.Applications; @@ -26,18 +23,6 @@ namespace Xamarin.Forms.Platform.Tizen } } -#if NET45 - string exedir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); - // ind resource in "exepath/../res/" - { - string resPath = exedir + "/../res/" + res; - if (File.Exists(resPath)) - { - return resPath; - } - } -#endif - return res; } } diff --git a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs index db7ee1de..bb7183a9 100644 --- a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs +++ b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs @@ -192,7 +192,6 @@ namespace Xamarin.Forms.Platform.Tizen #endregion -#if !NET45 // In .NETCore, AppDomain is not supported. The list of the assemblies should be generated manually. internal class AppDomain { @@ -226,7 +225,6 @@ namespace Xamarin.Forms.Platform.Tizen return _assemblies.ToArray(); } } -#endif } } |