"There is no Functions runtime available that matches the version specified in the project." when moving an Azure Functions project to a different machine

If Visual Studio gives you the error "There is no Functions runtime available that matches the version specified in the project." then you'd, reasonably, think that the answer would be to either check for an updated version of Visual Studio or install an additional component. Neither of these are the solution.

In this instance the Azure Functions project has a target framework of net9.0 which is the latest and greatest version. After checking the Visual Studio Installer for updates, and comparing what felt like the right components against the machine that the project came from I decided to try creating a new project and then diff them to find out what the issue was. This is what I saw:

No option for .NET 9.0...... I double checked on the original machine that the project was created on and the drop-down does contain ".NET 9.0 Isolated". This jogged my memory and the answer is.....

  1. Open Visual Studio
  2. Go to Tools > Options
  3. In the Options window navigate to Project and Solutions > Azure Functions
  4. Click on the 'Check for updates' button:
  5. Wait a few moments and a(nother) button should appear below it:
  6. Click on 'Download & Install' and wait

The button should disappear, and the other two (original) buttons will be disabled for a time whilst Visual Studio downloads updates in the background. When the updates have finished downloading the buttons will be re-enabled:

You should be able to now both run your project and create new projects that are targeting the .NET 9.0 (or whatever version you're trying to use where you've seen this error!).

About Rob

I've been interested in computing since the day my Dad purchased his first business PC (an Amstrad PC 1640 for anyone interested) which introduced me to MS-DOS batch programming and BASIC.

My skillset has matured somewhat since then, which you'll probably see from the posts here. You can read a bit more about me on the about page of the site, or check out some of the other posts on my areas of interest.

6 Comments

  • Gravatar Image

    Thank you man - i had lost all hope after moving this Project over from VS Code.
    Perfect - and as always, so simple if you know how...

  • Gravatar Image

    Hi Cristoph, glad it helped! =)

  • Gravatar Image

    Thanks for this.
    I'd spent an afternoon with ChatGPT and it couldn't help solve the problem, kept going around in circles.
    Fixed in 5 mins via your article.

  • Gravatar Image

    Hi Andy,

    I'm glad my article helped you. I guess there are things that are too obscure for ChatGPT to answer and this is one of them! 🤷

  • Gravatar Image

    To fix that for vstudio 2026 close it, after delete the folder %LocalAppData%\AzureFunctionsTools and start vstudio 2026, compile your solution and debug it will appear a window "downloading azure function tools" and after that works fine

  • Gravatar Image

    Thanks! Rob,
    That worked even for .Net 10 migration.

Add a Comment