Я разрабатываю приложение .net 8, которое использует aspire .net для оркестровки.
Когда я пытаюсь запустить свой проект на Linux со следующей командой ...
dotnet run --project ./SomeCustomer.SomeApp.AppHost/SomeCustomer.SomeApp.AppHost.csproj
< /code>
... Эта ошибка возникает ... < /p>
Building...
warn: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[9]
The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert
Unhandled exception. System.AggregateException: One or more errors occurred. (Property CliPath: The path to the DCP executable used for Aspire orchestration is required.; Property DashboardPath: The path to the Aspire Dashboard binaries is missing.)
---> Microsoft.Extensions.Options.OptionsValidationException: Property CliPath: The path to the DCP executable used for Aspire orchestration is required.; Property DashboardPath: The path to the Aspire Dashboard binaries is missing.
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
...
< /code>
Установлена .NET Aspire (dotnet workload install aspire
), но приложение не может получить доступ к ресурсу. Как решить это?
Я разрабатываю приложение .net 8, которое использует aspire .net для оркестровки. Когда я пытаюсь запустить свой проект на Linux со следующей командой ... [code]dotnet run --project ./SomeCustomer.SomeApp.AppHost/SomeCustomer.SomeApp.AppHost.csproj < /code> ... Эта ошибка возникает ... < /p> Building... warn: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[9] The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert Unhandled exception. System.AggregateException: One or more errors occurred. (Property CliPath: The path to the DCP executable used for Aspire orchestration is required.; Property DashboardPath: The path to the Aspire Dashboard binaries is missing.) ---> Microsoft.Extensions.Options.OptionsValidationException: Property CliPath: The path to the DCP executable used for Aspire orchestration is required.; Property DashboardPath: The path to the Aspire Dashboard binaries is missing. at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) ... < /code> Установлена .NET Aspire (dotnet workload install aspire[/code]), но приложение не может получить доступ к ресурсу. [b] Как решить это? [/b]