Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this symbol mean on my C# files?

This is a screenshot from Visual Studio 2015:

enter image description here

What does the little blue symbol mean over the normal C# icon? Curiously the context menu for items like this has no rename option.

For contrast, here's a "normal" one:

enter image description here

Note - I have looked in a few places but not spotted it:

  • https://learn.microsoft.com/en-us/visualstudio/extensibility/ux-guidelines/images-and-icons-for-visual-studio

  • https://msdn.microsoft.com/en-us/library/y47ychfe.aspx

like image 204
StayOnTarget Avatar asked Nov 26 '25 12:11

StayOnTarget


1 Answers

The blue arrow overlay indicates that the file is a link to a file in an other project;
on the filesystem, you won't find this file within the folder of the given project - it only exists as file at the other project.

The code within this file gets compiled into each project that references this file.
This is typically done to share common assembly related info over projects, like author, company, etc.

You achieve such a link/shortcut within a project when adding an existing item via the menu as follows:

Add > Existing Item ... > Add As Link

'Add as Link' appears as alternative option on the Add button via its dropdown menu.

like image 175
pfx Avatar answered Nov 28 '25 16:11

pfx



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!