在C#中重命名解决方案的文件夹 [英] Rename folder of a solution in C#

查看:340
本文介绍了在C#中重命名解决方案的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以知道如何重命名用c#编写的解决方案的文件夹?例如。该文件夹是与xxx.sln和xxx.suo文件位于同一路径的文件夹。我似乎无法通过右键单击直接重命名它。例如,我已将其重命名为ABC.sln的解决方案,现在我想将ABC.sln上方的文件夹重命名为ABC,但是当我打开解决方案时,它会说一些错误。

Hi, may i know how can i rename a folder of a solution written in c#? E.g. the folder is the folder which is at the same path as the xxx.sln and xxx.suo file. I cant seem to rename it directly by using right-click. For example, the solution i have renamed it into ABC.sln and now i want to rename the folder above the ABC.sln into ABC also but when i open the solution it will say some error.

推荐答案

您好,请检查此解决方案



http://stackoverflow.com/questions/2043618/proper-way-to-rename-solution-and-directories-in-visual-studio [ ^ ]
Hi,Check this solution

http://stackoverflow.com/questions/2043618/proper-way-to-rename-solution-and-directories-in-visual-studio[^]


只需将其重命名即可。大多数解决方案资源管理器的主题在上下文菜单上都有重命名项。



看,在尝试编程之前,你应该更好地查看所有IDE并知道什么菜单项做了什么。这不是太难,但会帮助你理解你在做什么。



-SA
Just rename it. Most Solution Explorer motes have the item "Rename" on a context menu.

Look, before trying to do programming, you should better look through all the IDE and know what menu items do what. This is not too hard, but will help you to understand what you are doing.

—SA


这篇关于在C#中重命名解决方案的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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