更改导入项目的位置后如何保持项目可用? [英] How to keep project available after changing the location of imported project?

查看:45
本文介绍了更改导入项目的位置后如何保持项目可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在同一位置(桌面)有两个项目 A 和 B.我将项目 B 导入/添加到项目 A 中.如果我将项目 B 的位置移动到其他文件夹,则项目 B 和相关文件在项目 A 中不可用,如下图所示.我也将 other linker flags 设置为 "-ObjC" .你能帮我吗.

解决方案

根据新项目复制到另一个项目,请按照以下步骤操作:

第 1 步:拖动 &将您的文件放入源项目.

第 2 步:在目标项目中拖动其请求制作新副本,如下面的屏幕截图所述.

<块引用>

如果要复制该文件,请选中复选框 [如果需要,复制项目].如果您只是复制该文件,请取消选中复选框 [如果需要,复制项目].

通过这样做,如果您复制您的项目,它将永久复制到您的目标项目中,而当您移动主项目时,复制的项目也会移动到另一个地方,并且其工作正常.

希望能帮到你.

I have two projects A and B in same location (Desktop). I imported/added project B into Project A. If I move project B's location to some other folder, then the project B and associated files are not avalable inside Project A as shown in below screen. I had set other linker flags as "-ObjC" as well. Can you please help me on it.

解决方案

As per new project copy in another project please follow below steps:

step 1: drag & drop your file into source project.

step 2: while drag its ask for make new copy at targeted project as mention below screen shot.

if you want to copy that file check checkbox [copy item if needed].
if you just copy that file uncheck checkbox [copy item if needed].

by doing this if you copy your project it will permanently copy in your targeted project and while you move your main project copied project also moved to another place and its work as expected.

Hope it will help you.

这篇关于更改导入项目的位置后如何保持项目可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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