.NET: embed an EXE file into my project
问题 I know that is strange situation, but I need to embed an EXE file (or the assembly code) into my project, so it can be started only by the application (it can't create the EXE in the filesystem and start it)... Is it possible? Edit: It's not a .NET EXE. Anyway I added the Test.exe file as a resource to my project and I did this Dim exestr As Stream = Nothing Dim a As Assembly = Assembly.GetExecutingAssembly exestr = a.GetManifestResourceStream("Test.exe") 回答1: I'm thinking create a RAM disk ,