beesheep
(Eduardo Bernabe Sacahui Diaz)
December 8, 2016, 3:33pm
1
Hello
I am trying to assign to dt = today.ToString(“MMMM”, new CultureInfo(“es-ES”)) (this is to convert March to Marzo, english to spanish.)
but UiPath is saying that “type CultureInfo is not defined.” the thing is that on another XAML I used the same assign and not getting any error. I’ve tried to copy and paste the activity but doesn´t work.
copyfile.xaml (12.3 KB)
I´ve also tried to see the differences between the two xamls because on one of them works just great and the same libraries and references are imported.
can you please help?
regards
beesheep
(Eduardo Bernabe Sacahui Diaz)
December 8, 2016, 3:39pm
2
Fixed, the ones in bold where not included:
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments=“x:String”>
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Framework.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>System.Globalization</x:String>
7 Likes
ronang
(ronang)
March 22, 2017, 4:42am
3
Sorry, beginner here. Not included where? how to add? Thanks!
aksh1yadav
(AKSHAY YADAV)
March 22, 2017, 4:55am
4
Hey @ronang
You can Import packages From import tab in the bottom pane.
For you Reference:
Regards…!!
Aksh
2 Likes