By reporting abuse, a moderator will be asked to review the content of this interaction to take further action, if necessary.
GleamTechConfiguration.EnsureAssemblies method which ensures GleamTech's assemblies are loaded and initialized.You may need to call this method in entry point/startup of your application, if you receive "Could not load file or assembly ..." errors.
You can observe this behaviour if your application calls some methods which scans assemblies for reflection purpose (reflection-only type access does not trigger DLL's module initializer),for example ASP.NET Core's endpoints.MapControllers method and SimpleInjector's RegisterMvcControllers method. So to prevent errors on those methods, you can call this method before such methods.
public void TestAppDomainGleamTechTypes() { Console.WriteLine("Populating types in GleamTech assemblies loaded in AppDomain:"); var loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies(); for (var i = 0; i < loadedAssemblies.Length; i++) { var a = loadedAssemblies[i]; if (a.FullName != null && !a.FullName.StartsWith("GleamTech", StringComparison.OrdinalIgnoreCase)) continue; Console.WriteLine($"{i}. {a.FullName}"); Console.WriteLine("\tPopulated {0} types without CLR errors.", a.GetTypes().Length); } }
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta19" /> <PackageReference Include="SkiaSharp" Version="2.88.3" />
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add notify@gleamtech.com to your trusted senders list in your email software.
A code was sent to the recovery email address. Please provide the 6-digit code.
A code can be retrieved from your authentication app. Please provide the 6-digit code.
An email was sent to your recovery email address. If you need further assistance, please contact your system admin.