Fail to run `azd init` command for sample “OrleansVoting”
Describe the issue:
Run the azd init command and select no services to expose, the following error occurs:
Repro Steps:
- Clone code.
- Run command
cd OrleansVoting. - Run command
azd init-> choose use code from folder and accept the Aspire project -> When asking which services to expose, select none service -> leave all other services unchecked.
Environment:
- Azd version:
azd version 1.7.0-beta.1-daily.3564805 (commit 81f3efd1049889762d01ca46a35630005b45f0b5) - Aspire version:
8.0.0-preview.4.24156.9 - Sample: OrleansVoting
Expected behavior:
azd init command can be executed successfully.
@rajeshkamal5050, @vhvb1989 for notification.
@davidfowl @DamianEdwards @vhvb1989 https://github.com/dotnet/aspire-samples/tree/preview.4/samples/OrleansVoting is this expected to work with Azd?
@bradygaster ?
will look at this and try to resolve asap.
I tried the recently-updated-to-9.0 code just now. azd init worked, and azd up is running. I noticed @Menghua1 mentioned their azd version being 1.7.0-beta.1-daily.3564805. I'm on version azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5). Could you update your azd and try again with these updated projects and let us know if the problem remains?
@bradygaster According to the latest code and azd version test, this issue can no longer be reproduced, thank you.