how to change namespace of entire project?

前端 未结 11 666
梦如初夏
梦如初夏 2020-12-22 22:30

I\'m modifying demo application from this article: http://msdn.microsoft.com/en-us/magazine/dd419663.aspx

I need to update all files to use my namespace, for example

11条回答
  •  情话喂你
    2020-12-22 22:53

    Go to someplace the namespace is declared in one of your files. Put the cursor on the part of the namespace you want to change, and press F2. This should rename the namespace in every file. At least, it worked in my little demo project I created to test this answer!

    Depending on your VS version, the shortcut might also be Ctrl-R,Ctrl-R.

提交回复
热议问题