ReSharper: Namespace does not correspond to file location

Ian Warburton picture Ian Warburton · Feb 22, 2012 · Viewed 15.9k times · Source

I renamed a folder and updated my namespace declarations, but ReSharper 6 claims that the namespace should be a reflection of how it was before the rename. Where is it storing the file location data?

Answer

clickatwill picture clickatwill · Jun 5, 2012

Check to make sure your assembly name matches your new namespace. If you've changed your folder structure to match your new namespace, you may still see the ReSharper alert until you update the project properties.