.net - 文件显示在 Visual Studio 的解决方案资源管理器中,并带有一个快捷方式图标。这意味着什么?

标签 .net visual-studio visual-studio-2010

我已经下载了 FParsec 的库源代码,所有文件都带有快捷符号。什么意思?

enter image description here

最佳答案

当项目被添加到该项目时,它被添加为链接 项目 -> 添加现有项目 -> 添加为链接

该文件很可能托管在目录结构中的另一个位置,也可以被另一个项目正常引​​用。

来自 MSDN :

Adding an Existing Item as a Link

You can also add an item as a link rather than directly adding the file to your project. Linked project items in Solution Explorer can be identified by the link indicator in its icon (a small arrow in the lower left corner).

By linking to a file, you can capture ongoing changes to a source file without having to manually update a copy whenever changes are made. However, if the underlying file is deleted, the link will be broken. If you move your project, the link will be broken, because the link is relative.

关于.net - 文件显示在 Visual Studio 的解决方案资源管理器中,并带有一个快捷方式图标。这意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7141310/

相关文章:

c# - .Net framework 3.0、3.5、2.0 在 Visual Studio 2012 中不显示,在 Windows 8.1 中仅显示 4.0 和 4.5

visual-studio-2010 - 无法重写抽象函数 CreateFont

.net - 如何将一列添加到 rdlc 的数据集中并让它出现在报告中以供使用?

.net - 如何下载正确版本的 mscordacwks 和 mscorwks?

c# - 设置任何应用程序的音量

python - 如何在 Windows 10 上安装 IronPython 3,供 Visual Studio VB.NET 应用程序使用?

asp.net - IIS Express 未在 Visual Studio 2019 中运行

c# - 在带有 Winforms 的 Visual Studio 2010 中将字符串与控件相关联的编程高效方法

c# - 集合内的 Xml 序列化

c# - 找不到类型或命名空间名称 "StreamReader"