如何更改整个项目的命名空间 [英] How to change a namespace of a whole project

查看:147
本文介绍了如何更改整个项目的命名空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Studio中将旧命名空间重命名为新命名空间。



---编辑

已删除主题 - 所有上限都被认为是大喊大叫,这是不好的做法。在发布问题时使用正确的大小写和语法。

How to rename a old namespace to a new namespace in a visual studio.

---Edit
Removed Caps from subject - all caps is considered shouting and is bad practice. Use correct casing and grammer when posting questions.

推荐答案

您好,



请按照下列步骤操作:

Hi,

Follow these steps:


  1. 转到任何代码文件
  2. 更改该文件中的命名空间
  3. 一个小的红色矩形将出现(图片 [ ^ ])
  4. 将鼠标悬停在矩形上方。
  5. 选择将旧命名空间重命名为新命名空间选项(image [ ^ ])

  1. Go to any code file
  2. Change the namespace in that file
  3. A small red rectangle will appear (image[^])
  4. Hover with your mouse over the rectangle.
  5. Choose the option 'Rename old namespace to new namespace' (image[^])



希望这会有所帮助。


Hope this helps.


谢谢......它真的帮助了我F或解决我的问题。
THANKX ....ITS REALLY HELP ME for solving my problem.


这篇关于如何更改整个项目的命名空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆