Extract embedded resources in C#
问题 I have four resource files embedded in my C# executable, 1 python script and 3 perl scripts. I could extract all three perl scripts successfully. But I am not able to extract the python script. I tried so many ways. Could someone please have a look ? Thank you. public static string ExtractResource(string resourceName) { string destFile = ""; //look for the resource name foreach (string currentResource in System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceNames() ) if