I have an older console app that targets .NET Framework 4.8. It loads a few Nugets that all support .NET Standard 2.0 as well as 2.1. The console app builds just fine but I get this runtime error as the first Nuget DLLs gets loaded:
System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' ---> System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
So, compatibility-wise Framework 4.8 should be fine with .NET Standard 2.0. Is there a good reason why the runtime cannot load netstandard 2.0 or 2.1?
[EDIT]
Screenshot from the console app's implicit dependencies
.Netstandard 2.1 requires .NET 5.0+. It is not supported by .NET Framework 4.8. Looks like you are trying to load an assembly that targets netstandard 2.1 only (maybe one of your nugets doesn't support 2.0, or when it has multiple targets, the wrong one is choosen for some reason).