Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
377 stars 173 forks source link

[Aspire] Return an error when AppHost defines an azd built-in parameter #3867

Open vhvb1989 opened 1 month ago

vhvb1989 commented 1 month ago

Define location, principalId and environmentName as azd built-in parameters and return error if the program from the AppHost tries to define parameters with the same name.

Return an error with details for customers to re-name the parameters.