Changing namespaces of groups of classes. C# RRS feed

  • Question

  • Hi, I really love how in C# classes placed into a solutions folder structure is mapped to the namespace the class is contained in. It's a good feature.

    But if I rename the folder or move a bunch of classes to a new folder the namespace of the classes aren't updated.

    Please Visual Studo Developers, PLEASE, can you fix this!

    I'd love to write a VS addin that would take care of this but I have no time at the moment. No time at all.

    Needs to fixed though! It needs to be fixed!


    "The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination." - Fred Brooks
    Friday, June 10, 2011 9:01 AM

All replies

  • Hi Derek,


    Thanks for your post.

    I think it is possible to write an addin to achieve this feature,

    I've requested a code sample from our

    All-In-Onecode Framework team, and they will work this out as soon as possible.

    Also you can submit a suggestion on our connect site



    I'll update here as soon as the sample comes out.

    Ziwei Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, June 13, 2011 8:26 AM