我在dotnet core(2.1)控制台应用程序中遇到此错误,因此我尝试通过AssemblyLoadContext.Default.LoadFromAssemblyPath显式加载dll,并通过File.Exists运行它,但是我仍然得到相同的错误:
Unable to load one or more of the requested types.
Could not load file or assembly 'NJsonSchema, Version=9.10.63.0, Culture=neutral, PublicKeyToken=c2f9c3bdfae56102'. The system cannot find the
file specified.
我已经检查了程序集本身,并且它确实具有该签名。