Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/306.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 运行浏览器自动化时UIPath出错:System.ArgumentException:没有要运行的编译代码错误CS0234: 消息框_C#_Uipath_Uipath Studio_Uipath Orchestrator - Fatal编程技术网

C# 运行浏览器自动化时UIPath出错:System.ArgumentException:没有要运行的编译代码错误CS0234: 消息框

C# 运行浏览器自动化时UIPath出错:System.ArgumentException:没有要运行的编译代码错误CS0234: 消息框,c#,uipath,uipath-studio,uipath-orchestrator,C#,Uipath,Uipath Studio,Uipath Orchestrator,System.ArgumentException:没有要运行的编译代码 错误CS0234:第34行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“ProtectedData” 错误CS0234:第36行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“DataProtectionScope” 错误CS0234:第49行的命名空间“System.Secu

System.ArgumentException:没有要运行的编译代码 错误CS0234:第34行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“ProtectedData”

错误CS0234:第36行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“DataProtectionScope”

错误CS0234:第49行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“ProtectedData”

错误CS0234:第51行的命名空间“System.Security.Cryptography”(是否缺少程序集引用?)中不存在类型或命名空间名称“DataProtectionScope”

在UiPath.Activities.System.Utilities.InvokeCode.CompilerRunner.Compile(字符串代码,Int32 errLineOffset,布尔生成内存)

在UiPath.Activities.System.Utilities.InvokeCode.CompilerRunner..ctor(字符串代码、字符串类名、字符串方法名、Int32 errLineOffset、布尔生成内存)

位于UiPath.Activities.System.Utilities.InvokeCode.CSharpInvoker.GetCompilerRunner(字符串代码、字符串类名、字符串方法名、Int32 errLineOffset、布尔内存)

在UiPath.Activities.System.Utilities.InvokeCode.NetCodeInvoker.GetCompilerRunner(字符串用户代码、列表'1参数、字符串IMP、布尔内存)

在UiPath.Activities.System.Utilities.InvokeCode.NetCodeInvoker.Run(字符串userCode,列表
1 inArgs,IEnumerable
1 imps,对象[]args)

在UiPath.Core.Activities.InvokeCode.Execute(CodeActivityContext上下文)

位于System.Activities.CodeActivity.InternalExecute(ActivityInstance实例、ActivityExecutor执行器、BookmarkManager书签管理器)

位于System.Activities.ActivityInstance.Execute(ActivityExecutor executor,BookmarkManager BookmarkManager)

在System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,BookmarkManager BookmarkManager,Location resultLocation)

中,由于UIPath引用中缺少错误“System.Security.Cryptography”,请导入系统包。然后重新启动UIpath。