The ensureProject() function silently skips the template download when an existing azure.yaml is found anywhere up the directory tree.
Results in an error like agent definition file not found: no agent.yaml or agent.yml found when trying to deploy.
The workaround is to make sure you are in a directory tree where there isnt an azure.yaml in the parent.
The ensureProject() function silently skips the template download when an existing azure.yaml is found anywhere up the directory tree.
Results in an error like
agent definition file not found: no agent.yaml or agent.yml foundwhen trying to deploy.The workaround is to make sure you are in a directory tree where there isnt an azure.yaml in the parent.