I've created a minimal web API in .NET 7 and I am trying to extract some of the code to a separate assembly. This code is using IResult, which was introduced in .NET 7.
How do I reference IResult
from a regular class library?
According to MSDN, the type is supposed to be in the assembly Microsoft.AspNetCore.Http.Abstractions.dll
in the NuGet Microsoft.AspNetCore.App.Ref
v7.0.3, but that is a platform component that cannot be referenced directly by assemblies.