VS IDE do not release the lock to the image file.

Is this a reported issue or not.

VS IDE do not release the lock to the image file. I am creating a skin file with Photoshop, i saved the file as filename.bmp, set this background of my form. when i tried to overrite the file. It says that it was locked by another application. Even if i cliked Clear under import resource dialog, still i cannot overrite the file. I ended up with multiple filenames or worst close the IDE to release the lock.

thanks in advance!



Answer this question

VS IDE do not release the lock to the image file.

  • AmolWankhede

    If you use Image.Load, the file is locked until you dispose of the image. I'd say the issue is with resource management in your code, and not a bug.



  • VS IDE do not release the lock to the image file.