0

I'm making an Azure Function with an Http Trigger. Using just the basic boilerplate I added a reference to my library project that just contains most of my application logic. The library project works just fine and builds without error but after adding it to my functions .csproj I am getting this error: error in console Incase you can't read the image, the error is 'Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=blahblahblah'. The system cannot find the file specified.

I've tried manually adding the package to both the functions project and the library project and no change. Is this just an Azure Functions issue? Has anyone else had any luck referencing other projects from an Http Trigger function?

Both projects are built on .net6

0 Answers0