In my soloution, for one of the projects I have to add a binary file and read its content in the form_load
event.
As you can see in the picture I have added it to the appropriate project and have set the Build Action
to Content
and Copy to Output Directory
as Copy Always
.
Now can somone please tell me how how to access this file?
private void SetupForm_Load(object sender, EventArgs e)
{
//Find the path to file then
//READ THE FILE
}