Remove the preload code related to TIZEN_UIFW. Only NUI is supported (#469)
[platform/core/dotnet/launcher.git] / Managed / Tizen.Runtime / Preloader.cs
index ea0737b..9ee11c7 100644 (file)
@@ -50,11 +50,6 @@ namespace Tizen.Runtime
             if (!Directory.Exists(preloadPath))
                 return;
 
-            // If TIZEN_UIFW is not set or NUI, do not preload UI related dll
-            string uifw = System.Environment.GetEnvironmentVariable("TIZEN_UIFW");
-            if (uifw == null || uifw != "NUI")
-                return;
-
             string[] paths = Directory.GetFiles(preloadPath, "*.preload");
             Array.Sort(paths);
             foreach (string path in paths)
@@ -79,7 +74,7 @@ namespace Tizen.Runtime
 
                 try
                 {
-                    Console.WriteLine("UIFW: " + uifw + " Start preload : " + fileName);
+                    Console.WriteLine("Start preload : " + fileName);
                     BindingFlags bindingFlag = BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
                     foreach (string line in File.ReadLines(path))
                     {