Answer the question
In order to leave comments, you need to log in
How can I put music into one exe, regardless of whether it is on the PC?
everything is in the question. on the Internet, only the method turned out to be working when you specify a clear path to the file and if the file with the SAME name is found in EXACTLY SUCH DATALOG, then everything will work
Answer the question
In order to leave comments, you need to log in
The question is simple. Add file to resources and read it from resources.
You select the necessary file in Solution Explorer and you install value of "Build Action" in "Resource". The file can now be accessed using a relative path.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question