テキスト ‘ueh:ExcelUtilities’ から ‘TargetType’ を作成できませんでした。

こんにちは
UiPath Studio 2025.0.172STS Community editionのユーザーです。

1年前に作成したプロジェクトのMain.xamlをダブルクリックしたらいきなり下記のエラーが出ました。対処策が分かる方ご教示ください。

25.0.172-cloud.20747+Branch.release-s172.Sha.79454e17677b2afd6192073f850ffe51d1a48a81.79454e17677b2afd6192073f850ffe51d1a48a81

テキスト ‘ueh:ExcelUtilities’ から ‘TargetType’ を作成できませんでした。

エラー: RemoteException wrapping System.Xaml.XamlObjectWriterException: テキスト ‘ueh:ExcelUtilities’ から ‘TargetType’ を作成できませんでした。 —> RemoteException wrapping System.Xaml.XamlParseException: 型参照は ‘{clr-namespace:UiPath.Excel.Helpers;assembly=UiPath.Excel}ExcelUtilities’ という名前の型を見つけることができません。
at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter1 ts, Object value) at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)
— End of inner exception stack trace —
at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo) at System.Xaml.XamlObjectWriter.Logic_CreatePropertyValueFromValue(ObjectWriterContext ctx) at System.Xaml.XamlObjectWriter.WriteEndMember() at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) at System.Xaml.XamlServices.Load(XamlReader xamlReader) at UiPath.Workflow.Operations.Serializer.Services.WorkflowXamlSerializer.CreateActivityBuilder(Stream stream) at UiPath.Workflow.Operations.Serializer.Services.WorkflowXamlSerializer.CreateFromStream(Stream stream) at UiPath.Workflow.Operations.Serializer.Services.WorkflowXamlSerializer.LoadFromFile(String file) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.<LoadFileInDesigner>g__LoadActivityBuilderFromFile|50_0(String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.LoadFileInDesigner(String fileName, WorkflowDesigner designer) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.BuildInternal(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerBuilder.Build(DesignerEventsSubscriber eventsSubscriber, String workflowId, String fileName) at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.LoadAsync(String fileName) at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass11_0.<<Load>b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.<>c__DisplayClass11_0.<<Load>b__0>d.MoveNext() --- End of stack trace from previous location --- at UiPath.Studio.Shared.MVVM.Services.DispatcherService.InvokeAsync(Func1 func)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileProjectEndpoint.Load(String fileName)
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func`2 exceptionHandler), HResult -2146233088

Open the project in Studio without opening Main.xaml yet just open project.json. Then go to Manage Packages → All Packages Install the same UiPath.Excel version you used when creating the project (check your old project.json or .local\project.json backup if available — probably something like UiPath.Excel.Activities v2.9.x or v2.11.x).
Save the project and try reopening Main.xaml and If you don’t know the old package version then install a few older versions of UiPath.Excel.Activities and retry until the file opens.

If this is needful then mark it as SOLUTION

Happy Automation

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