[NUI] fix ThemeResourceSample build error
authorYeongjong Lee <yj34.lee@samsung.com>
Tue, 10 Nov 2020 11:51:44 +0000 (20:51 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 11 Nov 2020 02:33:04 +0000 (11:33 +0900)
This patch will fix build error caused by conflict between global::System.XXX
and Tizen.System.XXX namespace.

test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/ThemeResourceSample.cs

index 86a893d..766f7cf 100644 (file)
@@ -8,9 +8,9 @@ namespace Tizen.NUI.Samples
     {
         public void Activate()
         {
-            string resourceDefault = System.IO.Path.Combine("res", "resSampleThemeResourceDefault.xaml");
-            string resourceDark = System.IO.Path.Combine("res", "SampleThemeResourceDark.xaml");
-            Theme sampleTheme = new Theme(System.IO.Path.Combine("res", "SampleTheme.xaml"), resourceDefault);
+            string resourceDefault = global::System.IO.Path.Combine("res", "resSampleThemeResourceDefault.xaml");
+            string resourceDark = global::System.IO.Path.Combine("res", "SampleThemeResourceDark.xaml");
+            Theme sampleTheme = new Theme(global::System.IO.Path.Combine("res", "SampleTheme.xaml"), resourceDefault);
             ThemeManager.ApplyTheme(sampleTheme);
 
             View root = new View();