DEV Community

loading...

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

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=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot…

Discussion

pic
Editor guide
Collapse
katnel20 profile image
Katie Nelson

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

Collapse