I have a program that made with c# and it has include more pictures and files.
And how I make an exe that include all of images and files.
I have a program that made with c# and it has include more pictures and files.
And how I make an exe that include all of images and files.
Copyright © 2021 Jogjafile Inc.
You can use Application Resources in visual studio.
Right click on Project (Solution Explorer) and Go to Properties
Select Resources tab
Add what you want (Images, Files, Strings etc.)
You can access them in your code as per below
If you added image
img1
to Resourcesyou can use below code to use it