I’m generating and Excel document in my Blazor app. The following code works perfectly in debug mode, however, when I publish it using AOT, I get the following error:
private void SetLicense()
{
Assembly…...void SetLicense() { Assembly assembly = Assembly.GetExecutingAssembly();...lic"; using Stream stream = assembly.GetManifestResourceS(resourceName);...