Run `azd up` occurs error in the progress
Describe the issue:
When running azd up, the following error occurs:
and the final result of running azd up shows no errors.
Repro Steps:
- Run
azd init -t Azure-Functions-OpenAI-Demo. - Run
azd auth login. - Run
set-executionpolicy remotesigned. - Run
azd up.
Environment:
- azd version 1.10.2 (commit 84ea22048b9a1c167bc4ae2095cc7f91798ef11e)
- OS: Windows
Expected behavior:
Running azd up shows no errors during the process.
@hemarina and @BigMorty for notification.
@eamonoreilly Please review this issue.
@jerryshia What version of .NET do you have installed? It seems you might not have .NET 8 and it is using .NET 6 and trying to update the app to support this but Flex consumption only supports .NET 8. You can run dotnet --version to check and get .NET 8 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 if needed. If that is not the issue, I may need ask for additional information. Thanks
@eamonoreilly We are using .NET 8. After investigation, we found that it was because of the version of Azure Functions Core Tools. Our previous version was 4.0.5455. After updating to the latest version 4.0.6543, this issue can no longer be reproduced, but we encountered a new issue as follows: