✅ Load Images from project folder
So usually if i want to load an image (lets say its located in /Assets/someSprite.png from the current relative path to the Executable), id have to include it into the same folder as the build, is there a way to have the images & such loaded in mySolution/Assets/someSprite.png instead?
7 Replies
Why though?
just wondering, this way it could (maybe) compile as a standalone application with its assets embedded?
or would that not be possible
You can set all the resources you want to be copied to the output folder automatically
that works
If you're using Rider or Visual Studio, right-click on the folder or the individual files, open properties, and set when they should be copied
If you're using VS Code (why?) you can edit the
.csproj
file and set all the copy rules thereim using VS2022
thanks a appreciated
Anytime