c# - VS2010 Resource Images NOT purging from project -
after removing images project using resources window's "remove resources", images still remain in solution explorer.
why that? , how can "safely" remove them? i've tried doing manually 1 @ time requires me show mainform in design mode see if vs2010 crashes on me , "undoing" did.
there's got easier way. thoughts?
try full manual deletion:
delete property accesses resource .resources.designer.cs. should (if resource called
btnadd
):internal static system.drawing.bitmap btnadd { { object obj = resourcemanager.getobject("btnadd", resourceculture); return ((system.drawing.bitmap)(obj)); } }
delete reference resource .resx file. should this:
<data name="btnadd" type="system.resources.resxfileref, system.windows.forms"> <value>..\..\..\..\..\icons\currenticons\btnadd.png;system.drawing.bitmap, system.drawing, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a</value> </data>
right-click project in solution explorer, unload it, edit , (and delete it).
<itemgroup> <none include="btnadd.png" /> </itemgroup>
Comments
Post a Comment