Сopy file from embedded resource

using (FileStream fileStream = File.Create(fileName))
{
  Assembly.GetExecutingAssembly().GetManifestResourceStream(
    "YourDefaultNamespace.YourFolderForResourcesInProject.Log.xlsx")
    .CopyTo(fileStream);
}

Leave a Reply