Message: The invoked workflow ‘抽出処理’ has validation errors. Please review the workflow and resolve the errors.
Exception Type: Exception
System.Exception: The invoked workflow ‘抽出処理’ has validation errors. Please review the workflow and resolve the errors. —> System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
‘抽出処理’: The private implementation of activity ‘1: 抽出処理’ has the following validation error: Compiler error(s) encountered processing expression “VRangeV”.
型 ‘Newtonsoft.Json.Linq.JArray’ の値を ‘Newtonsoft.Json.Linq.JArray’ に変換できません。型の不一致は、プロジェクト ‘vbhost’ の ‘C:\Users\S6\AppData\Local\Temp\nuget\DH.GitHub.Activities.1.3.1.5\lib\net452\Newtonsoft.Json.dll’ へのファイル参照とプロジェクト ‘vbhost’ の ‘C:\Users\S6\AppData\Local\Temp\nuget\Baidu.VatInvoice.Ocr.Activities.1.0.4\lib\Newtonsoft.Json.dll’ へのファイル参照との混合によって生じた可能性があります。両方のアセンブリが同一である場合は、同じ場所から参照するようにこれらの参照を置き換えてください。
C:\Users\ユーザー名\AppData\Local\Temp\nuget の配下にもアクティビティパッケージができていました。
実行したところ同様のエラーが発生しました。
Main has thrown an exception
Source: Invoke workflow file: UiPath.Core.Activities
Message: The invoked workflow ‘抽出処理’ has validation errors. Please review the workflow and resolve the errors.
Exception Type: Exception
System.Exception: The invoked workflow ‘抽出処理’ has validation errors. Please review the workflow and resolve the errors. —> System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
‘抽出処理’: The private implementation of activity ‘1: 抽出処理’ has the following validation error: Compiler error(s) encountered processing expression “VRangeV”.
型 ‘Newtonsoft.Json.Linq.JArray’ の値を ‘Newtonsoft.Json.Linq.JArray’ に変換できません。型の不一致は、プロジェクト ‘vbhost’ の ‘C:\Users\S6\AppData\Local\Temp\nuget\DH.GitHub.Activities.1.3.1.5\lib\net452\Newtonsoft.Json.dll’ へのファイル参照とプロジェクト ‘vbhost’ の ‘C:\Users\S6\AppData\Local\Temp\nuget\Baidu.VatInvoice.Ocr.Activities.1.0.4\lib\Newtonsoft.Json.dll’ へのファイル参照との混合によって生じた可能性があります。両方のアセンブリが同一である場合は、同じ場所から参照するようにこれらの参照を置き換えてください。