[NUI][XamlBuild] Fix issues of xamlbuild.
authorguowei.wang <guowei.wang@samsung.com>
Wed, 13 Jul 2022 12:25:20 +0000 (20:25 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 19 Jul 2022 05:51:42 +0000 (14:51 +0900)
src/Tizen.NUI.Components/Properties/AssemblyInfo.cs
src/Tizen.NUI.Extension/Properties/AssemblyInfo.cs [changed mode: 0644->0755]
src/Tizen.NUI.XamlBuild/src/public/XamlBuild/CompiledConverters/BindablePropertyConverter.cs
src/Tizen.NUI.XamlBuild/src/public/XamlBuild/SetPropertiesVisitor.cs

index acb4636..8b14343 100755 (executable)
@@ -1,8 +1,4 @@
 using Tizen.NUI;
 
 // Xamarin.Forms.Loader.dll Xamarin.Forms.Xaml.XamlLoader.Load(object, string), kzu@microsoft.com
-[assembly: XmlnsDefinition("http://tizen.org/Tizen.NUI/2018/XAML", "Tizen.NUI.Components")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml", "System", AssemblyName = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml", "System", AssemblyName = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2009/xaml", "System", AssemblyName = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2009/xaml", "System", AssemblyName = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
\ No newline at end of file
+[assembly: XmlnsDefinition("http://tizen.org/Tizen.NUI/2018/XAML", "Tizen.NUI.Components")]
\ No newline at end of file
old mode 100644 (file)
new mode 100755 (executable)
index ce1350a..cafcb90
@@ -1,8 +1,4 @@
 using Tizen.NUI;
 
 // Xamarin.Forms.Loader.dll Xamarin.Forms.Xaml.XamlLoader.Load(object, string), kzu@microsoft.com
-[assembly: XmlnsDefinition("http://tizen.org/Tizen.NUI/2018/XAML", "Tizen.NUI.Extension")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml", "System", AssemblyName = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml", "System", AssemblyName = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2009/xaml", "System", AssemblyName = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-[assembly: XmlnsDefinition("http://schemas.microsoft.com/winfx/2009/xaml", "System", AssemblyName = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
\ No newline at end of file
+[assembly: XmlnsDefinition("http://tizen.org/Tizen.NUI/2018/XAML", "Tizen.NUI.Extension")]
\ No newline at end of file
index c4cc2c4..773775c 100755 (executable)
@@ -57,7 +57,7 @@ namespace Tizen.NUI.Xaml.Core.XamlC
                         (   parent.XmlType.Name == "Trigger"
                          || parent.XmlType.Name == "DataTrigger"
                          || parent.XmlType.Name == "MultiTrigger"
-                         || parent.XmlType.Name == "Style")) {
+                         || parent.XmlType.Name == "XamlStyle")) {
                         var ttnode = (parent as ElementNode).Properties [new XmlName("", "TargetType")];
                         if (ttnode is ValueNode)
                             typeName = (ttnode as ValueNode).Value as string;
index 8d91d71..45db5e6 100755 (executable)
@@ -475,7 +475,7 @@ namespace Tizen.NUI.Xaml.Build.Tasks
             } else
                 yield return Create(Ldnull);
             yield return Instruction.Create(OpCodes.Newobj, module.ImportReference(ctorinforef));
-            yield return Instruction.Create(OpCodes.Callvirt, module.ImportPropertySetterReference((NUIXamlCTask.bindingAssemblyName, NUIXamlCTask.bindingNameSpace, "BindingExtension"), propertyName: "TypedBinding"));
+            yield return Instruction.Create(OpCodes.Callvirt, module.ImportPropertySetterReference((NUIXamlCTask.bindingAssemblyName, NUIXamlCTask.xamlNameSpace, "BindingExtension"), propertyName: "TypedBinding"));
         }
 
         static IList<Tuple<PropertyDefinition, string>> ParsePath(string path, TypeReference tSourceRef, IXmlLineInfo lineInfo, ModuleDefinition module)