gpt4 book ai didi

.net-core - OSX 10.13 DOTNET 运行系统.ComponentModel.Win32Exception (0x80004005) : No such file or directory

转载 作者:行者123 更新时间:2023-12-03 02:39:08 25 4
gpt4 key购买 nike

在 OSX 10.13 上的终端中执行 dotnet run -c release 时,出现以下错误:

../../Properties/launchSettings.json...
System.ComponentModel.Win32Exception (0x80004005): No such file or
directory
at Interop.Sys.ForkAndExecProcess(String filename, String[] argv,
String[] envp, String cwd, Boolean redirectStdin, Boolean
redirectStdout, Boolean redirectStderr, Int32& lpChildPid, Int32&
stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean shouldThrow)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.DotNet.Cli.Utils.Command.Execute()
at Microsoft.DotNet.Tools.Run.RunCommand.Start()
at Microsoft.DotNet.Tools.Run.RunCommand.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry
telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)

.NET 命令行工具 (2.2.0-preview1-007582)

产品信息:版本:2.2.0-preview1-007582提交 SHA-1 哈希:4845efe2ea

运行时环境:操作系统名称:Mac OS X操作系统版本:10.13操作系统平台:DarwinRID:osx.10.12-x64基本路径:/usr/local/share/dotnet/sdk/2.2.0-preview1-007582/

Microsoft .NET Core 共享框架主机

版本:2.1.0-preview1-25919-02内部版本:96a1025de48784825ac61e45ece24a4343e0bf01

按照 Microsoft 文档中的指示为 OSX 10.12 设置运行时标识符。该项目适用于 Windows 10,但不适用于任何 OSX 设备。launchSettings.json 文件确实存在。如果我复制并纳米化该文件,它将编辑该文件。我现在没有主意。

最佳答案

dotnetcore 2.0.3 和 2.1 有此问题:

https://github.com/dotnet/cli/issues/6397

有一个 .在我们的项目名称中,它导致了问题。

由于问题尚未解决,目前已重新开放。

关于.net-core - OSX 10.13 DOTNET 运行系统.ComponentModel.Win32Exception (0x80004005) : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47544319/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com