# Fixing 'There is no Functions runtime available' in Visual Studio

Recently, I've been updating a bunch of Visual Studio Azure Functions and Blazor projects to .NET 8.0 from 7.0. Most went smoothly but when I came to run the Azure Functions project locally in Visual Studio, I ran into this error:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1706193720070/e3f8e864-5011-4284-a8b7-18c5feff5188.png align="center")

**Error**: There is no Functions runtime available that matches the version project specified by the project

I checked the .csproj file and I have the correct `TargetFramework` set to `8.0`.

```xml
<PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <AzureFunctionsVersion>v4</AzureFunctionsVersion>
    <OutputType>Exe</OutputType>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <RootNamespace>[projectname].functions</RootNamespace>
</PropertyGroup>
```

After consulting Google, I came across this [Stack Overflow post](https://stackoverflow.com/a/75146147) which resolved my issues. For simplicity, I'll include the steps below.

In Visual Studio, in the menu bar go to **Tools** \&gt; **Options** \&gt; **Projects and Solutions** &gt; **Azure Functions**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1706194096834/b4bc625a-fb91-4563-ae7b-62529ac454b1.png align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1706194173397/f5ea1987-fb4b-4fab-b644-088c234bbbf1.png align="right")

Press **Check for updates** and then **Download & Install**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1706194294780/11a39a01-1953-49ba-b2ad-6b7fcc8feb55.png align="right")

Once complete, I was able to run my Azure Functions locally!
