M1macで「Visual Studio Code を使用して Azure に C# 関数を作成したい」のですが、
ローカル環境に Azure Function 用のプロジェクトが作成できず、うまくいきません。
https://docs.microsoft.com/ja-jp/azure/azure-functions/create-first-function-vs-code-csharp?tabs=in-process
上記ページを参考にし、「プロンプトで、次の情報を入力します。」の
「Select a .NET runtime (.NET ランタイムを選択してください):.NET 6 を選択します。」実行時に下記エラーとなってしまいます。
10:16:50 PM: Error: Failed to get latest templates: Command "dotnet '/Users/XXX/.vscode/extensions/ms-azuretools.vscode-azurefunctions-1.5.2/resources/dotnetJsonCli/net5.0/Microsoft.TemplateEngine.JsonCli.dll' --templateDir '/Users/XXX/Library/Application Support/Code/User/globalStorage/ms-azuretools.vscode-azurefunctions/~4/net6.0' --operation list" failed with exit code "150": It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '5.0.0' (arm64) was not found. - The following frameworks were found: 6.0.2 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] You can resolve the problem by installing the specified framework and/or SDK. The specified framework can be found at: - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=arm64&rid=osx.12-arm64
翻訳し、「フレームワーク 'Microsoft.NETCore.App', バージョン '5.0.0' (arm64) は見つかりませんでした。」とあるので、
エラー下部にある、URLに飛び.Net 5.0.Xをダウンロードしようとするも、arm64版がなく途方に暮れています。。
どなたかご回答いただけますと幸いです。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。