I want something similar to the effect of how Jar files retain data (as they are like zip files).
Since this is not the case w/ CSharp, how can I include resources?
Here's an example of what I want to do (this is meant to be a filesystem):
Project: Main.cs Components: JSONHandlers.cs JSON: myFile.json one.json two.json
Now, let's say I want to read
one.json from the compiled output (
Project.exe), as far as I'm aware, files like these aren't included in the end-product, and it doesn't create a file for this, so if I try to read that file, it will throw an exception.
Another example is if I have a folder of resources (images, dialogue, etc...) (in a game-dev ctx), and I tried to use those.
So, is there any way of packaging these resources with the executable?