I need to change a bitmap in the resources of a C# .NET 4.0 program. I’ve replaced the underlying .png file with the new image and rebuilt the solution, but it’s still is using the OLD IMAGE!
I’ve spent hours on this! There’s usually a Microsoft gimmick to get “obvious” things to work. Does anyone know how to do this?
Thanks!
If the image is in a resource (.resx) file, you need to re-add it manually.
If the resource is something that will change often, using application resources may not be the best solution. Loading the resource from disk would be better if this is the case.