xamarin进程启动错误访问被拒绝

时间:2019-07-20 01:00:34

标签: xamarin

我创建了netcore控制台应用程序,并构建到mac-ox自我容器.. 然后将其放入我的xamarn.mac项目Resource文件夹。 我在xamarin.mac项目中编写代码以运行处理它。 但是错误。

[08:51:21]-> System.ComponentModel.Win32Exception(0x80004005):ApplicationName ='/ Users / yuzd / Projects / AntDeploy / AntDeploy / bin / Debug / AntDeploy.app / Contents / Resources / lib / AntDeployCommand ',CommandLine ='/ Users / yuzd / .config / AntDeploy / dcf2939703bb226b5390fb310d3a3828.json',CurrentDirectory ='',本机错误=拒绝访问 在/Library/Frameworks/Xamarin.Mac.framework/Versions/5.10.0.157/src/Xamarin.Mac/mcs/class/System/System中的System.Diagnostics.Process.StartWithCreateProcess(System.Diagnostics.ProcessStartInfo startInfo)[0x0029f] .Diagnostics / Process.cs:768 在/Library/Frameworks/Xamarin.Mac.framework/Versions/5.10.0.157/src/Xamarin.Mac/mcs/class/referencesource/System/services/monitoring/system中的System.Diagnostics.Process.Start()[0x0003a] /diagnosticts/Process.cs:2005 在(包装器远程调用检查)System.Diagnostics.Process.Start() 在/Users/yuzd/Projects/AntDeploy/AntDeploy/ViewController.cs:1828

中的AntDeploy.ViewController.Exec(AntDeploy.Models.Arguments参数,System.Action`2 [T1,T2]日志)[0x000b0]

我不想对我的xxx.app文件夹使用【-R 777】。 如何访问而不会拒绝错误?

image

image

XXXX.app文件夹:

image

0 个答案:

没有答案
相关问题