I am starting to refactor my Blazor project so that I have a Razor Component Library project for my components. Using Visual Studio 2019 this creates a razor component library which targets .NET Standard 2.0.
A potential blocker is that my component has a dependency upon a .NET Core 3.1 class library.
Can anyone suggest how to approach this?
(a) Try to abstract out the dependency, not sure that would be possible because of a necessary dependency graph no matter what, (b) Convert my .NET Standard 2.0 RCL to .NET Core 3.1, would this then make it incompatible to be used in my Blazor .NET Core 3.1 project?
Any advice welcome.