StayOnTarget
StayOnTarget

Reputation: 13048

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:

Upvotes: 3

Views: 2726

Answers (3)

pfx
pfx

Reputation: 23324

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.

Upvotes: 4

Rich
Rich

Reputation: 6573

That is the icon for 'A shortcut to the object' as shown at the bottom of this page:

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

Here's a zoomed-in view of the image from that site:

enter image description here

Upvotes: 3

aliceangel
aliceangel

Reputation: 314

This blue arrow icon means shortcut icon. Please have a look:

https://msdn.microsoft.com/en-us/library/y47ychfe.aspx at this page under Signal icons and the last row.

Upvotes: 1

Related Questions