title: How do I remove unnecessary resources from my project?
body: <p>I am working with a very big project (a solution that contains 16 projects and each project contains about 100 files). </p>
  
  <p>It is written in C++/C# with Visual Studio 2005. <br />
  One of the projects has around 2000 resources out of which only 400 are actually used.<br />
  <strong>How do I remove those unused resources? <br /></strong></p>
  
  <p>I tried to accomplish the task by searching for used ones.<br />
  It worked and I was able to build the solution, but it broke at runtime.<br /></p>
  
  <p>I guess because <strong>enum</strong>s are used. (<strong>IMPORTANT</strong>)<br /></p>
  
  <p><strong>How can I make sure that it doesn't break at runtime?</strong><br /></p>
  
  <p><strong>EDIT:</strong><br />
  I think one method could be to generate the resource (that is not found) on the fly at runtime (somehow).
  <br />But I have no idea about ... <em>anything</em>.</p>
  
  <p><em>NOTE: It's okay if a few unnecessary resources are still there.<br /></em></p>