How to remove an unused image from your resources in Visual Studio

In order to remove an unused image that stays in your resources:

  • Go to Project > Properties > Resources
  • Select whichever you want to remove and click on Remove Resource
Remove resource

After that, if you may get the error as shown below. Close Visual Studio and open it again in this case.

Code generation for property ‘ContentControl’ failed.  Error was: ‘Could not find file ‘C:\Users\nedim\Documents\Visual Studio 2010\Projects\projectname\projectname\Resources\1344394787_check.png’.’

Missing resource

Leave a Reply