DEV Community


Error generating functions metadata because of Microsoft.AspNetCore.Mvc.Abstractions, Version=

mckabue profile image Kabue Charles ・1 min read

After migrating to Azure Functions V3 cannot compile and run project anymore

Steps to reproduce

  1. Create new HTTP Trigger function

  2. Update project and include reference to Microsoft.AspNetCore.App <ItemGroup> <FrameworkReference Include="Microsoft.AspNetCore.App" /> </ItemGroup>

  3. Compile project

Stack Trace

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Abstractions, Version=, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot…

Discussion (2)

Editor guide
katnel20 profile image
Katie Nelson

Hard to tell from just the error without context. Have you tried adding that with the package manager?