-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
Can we replace code like:
Assembly executingAssembly = Assembly.GetExecutingAssembly();
string str = typeof(RVSplitContainer).Namespace + ".Resources.";
m_bitmaps[4] = new Bitmap(executingAssembly.GetManifestResourceStream(str + "SplitterHorizExpand.png"));
from here (and in similar places)
with more context aware code, like:
Assembly executingAssembly = typeof(RVSplitContainer).Assembly;
string str = typeof(RVSplitContainer).Namespace + ".Resources.";
m_bitmaps[4] = new Bitmap(executingAssembly.GetManifestResourceStream(str + "SplitterHorizExpand.png"));
why?
Because in other case it is not working with single code publish.
it is working fine without publishing as single file but this nasty single file assembly connnot be referenced
Metadata
Metadata
Assignees
Labels
No labels