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

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

Ned Sahin

Blogger for 20 years. Former Microsoft Engineer. Author of six books. I love creating helpful content and sharing with the world. Reach me out for any questions or feedback.

Leave a Comment