Could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.1.0.0
Since you're using the project in a .net framework library, there's an issue with auto-generated binding redirects (might be resolved in the upcoming 15.3 update / 2.0 .net core CLI). To work around it, add this in your cpsroj
file (preferably before any <Import>
element for a .targets
file if present):
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
This should force MSBuild to create / update a YourProject.dll.config
file containing the necessary binding redirects.
Azure function V3 could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions, Version=5.0.0.0 with EF core 5.0-rc1
The Microsoft.Azure.Functions.Extensions
depends on .net standard 2.0.
While the Entity Framework Core 5.0 RC1 will not run on .Net standard 2.0 platforms, it requires .net standard 2.1. So it could not find the Microsoft.Azure.Functions.Extensions
.
For more details, you could refer to this article.
Related Topics
How to Get the Child Windows of a Window Given Its Hwnd
What Interfaces Do All Arrays Implement in C#
How Can a Windows Service Start a Process When a Timer Event Is Raised
Inno Setup for Windows Service
Is There an Alternative to Bastard Injection? (Aka Poor Man's Injection via Default Constructor)
How to Get Duplicate Items from a List Using Linq
How to Implement a Read Only Property
Why Is Application.Restart() Not Reliable
Value Cannot Be Null. Parameter Name: Source
How to Compare Values of Generic Types
How to Convert Ticks to a Date Format
Using Layers and Bitmask with Raycast in Unity
Are There Any Reasons to Use Private Properties in C#
Mirroring Console Output to a File
What Does |= (Single Pipe Equal) and &=(Single Ampersand Equal) Mean
How to Accept an Array as an ASP.NET MVC Controller Action Parameter