If you create a simple .NET 5.0 ASP.NET project it is not possible compile the project, because it is unable to load the assembly. The compilation error occurs when adding .WithAttributeRouting() to the options.
Switching the project to .NETCore 3.1 enables it to compile.
To Reproduce
Just use the example project with .NET 5.0 as a target framework.
Expected behavior
A clean compilation :-).
Additional context / logging
It might be just a NuGet package setting. Please verify that you added .NET 5.0 was added to the dependencies since .NET Core is not enough to support it.
It would be great if you can publish a new version with .NET 5.0 support of your library.
Describe the bug
If you create a simple .NET 5.0 ASP.NET project it is not possible compile the project, because it is unable to load the assembly. The compilation error occurs when adding .WithAttributeRouting() to the options. Switching the project to .NETCore 3.1 enables it to compile.
To Reproduce
Just use the example project with .NET 5.0 as a target framework.
Expected behavior
A clean compilation :-).
Additional context / logging
It might be just a NuGet package setting. Please verify that you added .NET 5.0 was added to the dependencies since .NET Core is not enough to support it.
It would be great if you can publish a new version with .NET 5.0 support of your library.