发生了什么事"新增为纽带"选项? [英] What happened to the "add as link" option?

查看:143
本文介绍了发生了什么事"新增为纽带"选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么添加现有的文件仅适用于管理的项目链接功能?我不能在vcproj使用相同的功能。是不是因为管理的项目是专门为MSBuild的,和vcproj文件是不是?

Why is the add an existing file as a link feature only available for managed projects? I can't use the same feature in a vcproj. Is it because managed projects are built for msbuild, and vcproj files are not?

推荐答案

添加链接的功能是没有必要的VC ++项目(无论是管理还是没有),因为VC ++项目并不要求所有的源文件包含该项目的文件夹内严格所在。 C#项目,另一方面,不要有此要求。所以,你可以说,VC ++的总是将文件添加为链接和从不复制它们。

The Add As Link feature is not necessary for VC++ projects (whether managed or not) because VC++ projects do not require all source files to reside strictly within the folder that contains the project. C# projects, on the other hand, do have this requirement. So you could say that VC++ always adds files as links and never copies them.

您支付的价格这种灵活性是有创建不符合真正的文件夹,在磁盘和自己管理他们的虚拟项目文件夹。这种遗产来自VC6,相信我,大量的C#程序员羡慕的灵活性。为了向你展示虚拟项目文件夹和真实项目文件夹之间的差异,拨动。项目 - >显示所有文件

The price you pay for this flexibility is having to create virtual project folders that don't correspond to real folders on disk and manage them yourself. This heritage comes from VC6 and believe me plenty of C# programmers envy that flexibility. To show you the difference between the virtual project folders and the real project folders, toggle "Project -> Show All Files".

这篇关于发生了什么事"新增为纽带"选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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