Problem with copy paste

I have problems copying an activity, either with ctrl+v or right click and copy. I installed the studio today and only changed the language from french to english. It happens when i try to save too.

image

image

23.12.0-beta.15287+Branch.release-v23.12.0.Sha.6f78cf34182e239b45fdde518f0d7807b8290d82

Could not load file or assembly ‘UiPath.CodedWorkflows, Version=23.10.0.0, Culture=neutral, PublicKeyToken=null’. Le fichier spécifié est introuvable.

Error: System.Exception: Could not load file or assembly ‘UiPath.CodedWorkflows, Version=23.10.0.0, Culture=neutral, PublicKeyToken=null’. Le fichier spécifié est introuvable.
at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type genericTypeArguments, Type genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, MetadataImport& scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1& derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctorWithParameters, Boolean& isVarArg) at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes) at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) at System.Xaml.MS.Impl.XmlNsInfo.LoadPrefixes() at System.Xaml.XamlSchemaContext.UpdatePreferredPrefixes(XmlNsInfo newNamespaces, ConcurrentDictionary2 prefixDict)
at System.Xaml.XamlSchemaContext.InitializePreferredPrefixes()
at System.Xaml.XamlSchemaContext.GetPreferredPrefix(String xmlns)
at System.Xaml.XamlObjectReader.SerializerContext.FindPrefix(String ns)
at System.Xaml.XamlObjectReader.ObjectMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.MemberMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader.ObjectMarkupInfo.FindNamespace(SerializerContext context)
at System.Xaml.XamlObjectReader…ctor(Object instance, XamlSchemaContext schemaContext, XamlObjectReaderSettings settings)
at System.Xaml.XamlObjectReader…ctor(Object instance)
at System.Activities.Presentation.CutCopyPasteHelper.PutOnClipBoard(List1 selectedData, List1 metaData)
at System.Activities.Presentation.CutCopyPasteHelper.CutCopyOperation(List1 modelItemsToCutCopy, EditingContext context, Boolean isCutOperation) at System.Activities.Presentation.CutCopyPasteHelper.DoCopy(List1 modelItemsToCopy, EditingContext context)
at System.Activities.Presentation.CutCopyPasteHelper.DoCopy(EditingContext context)
at System.Activities.Presentation.View.DesignerView.OnCopyCommandExecute(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2147024894

Hi @sergio.comparin

You are facing the issue because of the packages. So please upgrade the package to the latest version and in the runtime rule please select the option as lowest as applicable and the issue will be resolved.

Regards

That doesn’t work


I think it’s because I copied an .xaml from my local studio (in english) to the new client’s one (which is in french). I created a new project and the problem was solved but I have to redo the whole workflow without copying anything.

Hi bro @sergio.comparin

Copying in such a way won’t work. Need to create a new project when you are using different language.

Regards

Sorry, you were right the first time, but first I had to uninstall the packages.
Regards

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.