开发者

What happened to the "add as link" option?

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?


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.

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".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜