c#: How to embed exe file into resources?
问题 I use Costura.Fody. There is an app Test.exe which runs pocess internalTest.exe this way: ProcessStartInfo prcInfo = new ProcessStartInfo(strpath) { CreateNoWindow = false, UseShellExecute = true, Verb = "runas", WindowStyle = ProcessWindowStyle.Normal }; var p = Process.Start(prcInfo); Now I need to provide 2 exe files to user. Is it possible to embed internalTest.exe and then run it? 回答1: Copy the application to a folder within your solution called something like: Resources or