In order to fix the error showed in @Bill question, I run the followed steps:
- In Nuget Package Manager: update Microsoft.NET.Sdk.Functions to 4.5.0 version
- In Visual Studio 2022: Tools -> Options -> Projects and Solutions -> Azure Functions -> Check for updates
- After Check for updates, click in Download & Install button