DEV Community

Kabue Charles
Kabue Charles

Posted on

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

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…

Top comments (2)

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
 
mckabue profile image
Kabue Charles