如何在Visual Studio中将项目移动到其他文件夹?我在项目中已经习惯了这种结构.
How do I move a project to a different folder in Visual Studio? I am used to this structure in my projects.
-- app ---- Project.Something ---- Project.SomethingElse我想将整个命名空间SomethingElse重命名为SomethingNew,这样做的最佳方法是什么(无需手动进入.sln文件)?
I want to rename the whole namespace SomethingElse to SomethingNew, what's the best way to do that (without manually going into .sln file)?
推荐答案在解决方案资源管理器"窗口中右键单击该项目,然后选择删除",从该解决方案中删除该项目.将整个项目文件夹,包括子目录,移动到您想要的任何位置.将项目重新添加到您的解决方案中.
Remove the project from your solution by right-clicking it in the Solution Explorer window and choosing Remove. Move the entire project folder, including subdirectories wherever you want it to go. Add the project back to your solution.
命名空间名称完全不同,只需编辑源代码即可.
Namespace names is something completely different, just edit the source code.
更多推荐
Visual Studio将项目移到其他文件夹
发布评论