且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何重命名MFC项目

更新时间:2023-11-28 21:50:58

您不需要这样的软件!谁知道它将对您的项目做什么?

在所有情况下,您都可以在解决方案资源管理器中选择项目的树节点,然后转到Visual Studio的主菜单,使用" F iles" => 保存[youproject] A s…".

基本上就是这样!

我希望所有源代码都位于项目文件所在目录下的目录结构中(一些开发人员非常愚蠢地违反了它,即使Visual Studio协助维护它).在这种情况下,在另存为"之后,您可以手动将文件的子目录移动到其他任何地方.不要忘记删除不是源代码的文件.您应该始终知道工件的哪一部分是您的源代码,否则会遇到麻烦.

此外,您只需要有时重新定位和重建项目,即可检查其完整性.这里的一些询问者抱怨说,他们的项目在搬迁后(无论是否在其他计算机上)都被破坏了.不要重复他们的失败.

-SA
You don''t need such software! And who knows what will it do to your project?

In all cases, you can select your project''s tree node in the Solution Explorer and than go to main menu of Visual Studio, use "Files" => "Save [youproject] As…".

Basically, that''s it!

I hope all your source code is located in the directory structure under the directory where your project file is (some developers have been so stupid to violate it, even though Visual Studio assist in maintaining it). In this case, after "Save As" you can manually moved the sub-directory of your file anywhere else. Don''t forget to remove the files which are not the source code. You should always know what part of artifacts is your source code, otherwise you''re in trouble.

Moreover, you simply need to relocate and rebuild your project sometimes, just to check up its integrity. Some Inquirers here complained that their projects were broken after relocation (on a different computer or not). Don''t repeat their failures.

—SA


项目重命名-重命名现有项目Visual Studio项目 [^ ]