We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We're using the following resolver now and making it virtual.
{ var Assembly = default(Assembly); var thisAssembly = new FileInfo(this.GetType().Assembly.Location); var directory = thisAssembly.Directory; var nameWithoutExtension = args.Name.Split(',').First(); Console.WriteLine($"{FileVersionInfo.GetVersionInfo(thisAssembly.FullName).ProductName} - Failed to load {args.Name}"); var files = directory.GetFiles("*", SearchOption.TopDirectoryOnly); if (files != null) { var dlls = files.ToList().Where(x => x.Extension.ToLower().Contains("interop") == false && x.Extension.ToLower().EndsWith("dll")); if (dlls != null) { foreach (var dll in dlls) { if (args.Name.ToLower().StartsWith(nameWithoutExtension.ToLower())) { Assembly = System.Reflection.Assembly.Load(AssemblyName.GetAssemblyName(dll.FullName)); break; } } } } return Assembly; }
The text was updated successfully, but these errors were encountered:
AmenJlili
No branches or pull requests
We're using the following resolver now and making it virtual.
The text was updated successfully, but these errors were encountered: