Cannot rename or move a file while it is open in an editor.
SQL Server 2005
Items that are still open in an editor cannot be renamed or moved.
Other Resources
How to: Rename Solutions and Project ItemsHow to: Move Items in Solution Explorer