dotnet / aspire-samples

MIT License
742 stars 217 forks source link

Property CliPath: The path to the DCP executable used for Aspire orchestration is required #506

Open to-mas-kral opened 1 month ago

to-mas-kral commented 1 month ago

When I try to run any of the samples, I get this error: 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.)

I have installed the Aspire workload. I'm on ArchLinux with dotnet-sdk 108.

Interestingly, creating a sample with dotnet new aspire-starter --use-redis-cache --output AspireSample and running it with dotnet-run does work.

DamianEdwards commented 3 weeks ago

@karelz @joperezr @danegsta any idea on this one?

joperezr commented 3 weeks ago

@to-mas-kral sorry for not seeing this sooner, and than you for logging the issue. Since this is an older issue, I believe it could just be a dupe of https://github.com/dotnet/aspire/issues/5674 which has already been fixed. Can you make sure that you are on the latest version of the workload by running dotnet workload update to get a version that has the fix?

baoduy commented 4 days ago

I tried Aspire 9 today and still got this error when running Aspire XUnit Test