I couldn't find anything, so I have no clue. How do I have an audio file "embedded" in the final build of my program? So that if I were to send it to someone else it would still play the soundfile.
In the end, you'll want to use ResourceManager.GetStream() to read the audio file that you have embedded into your assembly. The documentation for the ResourceManager class shows you how to embed the resources if are building everything by hand using the command line. I'm quite sure there are many tutorials on how to embed resources using Visual Studio's GUI. Or very likely, you'll be able to figure it out by simply playing with the GUI. It's not exactly intuitive, but at the same time, it's not rocket science either.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.