在Visual Studio中更改项目命名空间 [英] Change Project Namespace in Visual Studio

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

问题描述

如何在Visual Studio中更改项目名称空间?

How can I change the project namespace in Visual Studio?

名称空间当前为WindowsFormsApplication16,我希望名称空间为MyName.

The namespace is currently WindowsFormsApplication16, and I want the namespace to be MyName.

推荐答案

您可以更改默认名称空间:
-> Project-> XXX Properties...
在应用程序"选项卡上:默认名称空间

You can change the default namespace:
-> Project -> XXX Properties...
On Application tab: Default namespace

除此之外:
Ctrl-H
查找:WindowsFormsApplication16
替换:MyName

Other than that:
Ctrl-H
Find: WindowsFormsApplication16
Replace: MyName

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

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