Cannot rename or move a file while it is open in an editor.
Items that are still open in an editor cannot be renamed or moved.
To correct this error
- Close the file, and then rename or move the file.
See Also
Other Resources
How to: Rename Solutions and Project Items
How to: Move Items in Solution Explorer