Search code examples
c#visual-studiocompilation

C# - Compiling finished application / Using a file from inside the application?


I want my finished and compiled application to be a single executable file. There is a file I need to read from that I want to be inside the app.

So, my two questions:

How do I, in Visual Studio, add a file into the app and read from it?

How do I compile everything into one application?


Solution

  • you would most likely look at how to use a Resource / ResourceManager