Hi,
I am creating a new icon (png format) by creating in src\Resources\Icons and adding it into Icons project. After re-compile, the code below does not load it successfully:
if (stream == null)
{
string fullName = ourNamespace + "." + fileName;
stream = ourAssembly.GetManifestResourceStream(fullName);
}
I don't know how to make the png be created in src\Resources\obj\Debug with name prefix of PaintDotNet.Icons. I just copied and renamed my png there. But still not working.
Can any one tell me what I should do?
Thanks,
Alan