title: How do I fix Visual Studio (2013) namespace collision when moving files
body: <p>When moving files around in a project I ran into some pretty frustrating namespace collision issues.  After the fact I learned a better way to move the files but I'm hoping to find a solution.  Here is what I experienced:</p>
  
  <p>After moving files via cut/paste I had a namespace collision (I have many pages with the same name in different folders e.g. Foo/Add.aspx and Bar/Add.aspx).  When I moved a page, associated code behind and designer to a new folder I had a namespace collision.  When I updated the namespace VS showed the little red marker indicating it wanted to "help" me by renaming.  I had VS go ahead and "help" only to find after several attempts that it was also re-naming the file in the folder I had moved from e.g.  When I renamed Foo/Add.aspx VS was also changing the namespace for Bar/Add.aspx</p>
  
  <p>Does anyone know why this is? Or how to avoid it? I fixed it by manually changing all my namespaces and not allowing VS to "help" me out.</p>