简体   繁体   English

在解决方案资源管理器中更改项目文件夹后,命名空间未更新

[英]Namespace not updating after I alter my project folder in solution explorer

我最近在做我自己的项目,只是为了练习设计,在那个项目中,我创建了一个名为User_control的文件夹,我将所有user control item拉到其中,发生了一些错误,我必须更改User_control文件夹的name 进入US control ,但是当我这样做时,以前文件夹名称的命名空间没有更改为新名称,这会导致一系列新错误,我已经多次重建解决方案,但它似乎不起作用。

使用 Visual Studio(或您使用的任何 IDE)中的查找和替换功能来替换旧名称,下次使用重构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在解决方案文件夹外添加项目时,解决方案未内置在团队资源管理器中 - Solution not getting built in team explorer when I add project outside the solution folder 参考未在解决方案资源管理器中更新 - References not updating in Solution Explorer 资源管理器正在重新导航到我的名称空间扩展的根文件夹 - Explorer is re-navigating to the root folder of my namespace extension 无法在具有 vsix 扩展名的解决方案资源管理器中打开项目或项目文件夹(通过提供路径)? - Unable open a project or project folder (by giving the path) into solution explorer with an vsix extension? 从Solution Explorer中选择的项目 - Selected project from Solution Explorer 我在 Visual Studio 中找不到我的解决方案资源管理器 - I cannot find my solution explorer in visual studio 如何在解决方案资源管理器中合并我的代码隐藏文件? - How do I merge my code behind file in the solution explorer? 表格更改后GridView不更新 - gridview not updating after table alter 为什么我在设置本地 XML 命名空间后没有得到我项目中页面的智能感知建议 - Why dont't I get the intellisense suggestions for the pages in my project after setting up the local XML namespace 从我的项目/解决方案中的文件夹中获取所有图像 - Get all images from a folder in my project/solution
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM