How to get the physical location of a reference? - visual-studio-2010

I want to know where the references of our project physically stored on the machine but I don't know how. Viewing their properties doesn't help. Do you have any ideas?

In my VS2010 ASP.NET project when I right click on a reference I can see Path as one of the propertes. Is this what you are after?

Try VSCommands 2010 extension. It adds 'Open File Location' to the context menu of a reference and will take you straight to the folder where your reference is on a drive.

For files opened in your IDE, simply hold the mouse pointer over the editor tab. The tooltip which is appearing, shows the full path information.
Is this what you are looking for?

Related

whats is this icon in visual studio source control? [duplicate]

What does this dotted file icon mean? It's a .cs file but it is not behaving right in my project and I've noticed this separate icon in Solution Explorer:
I've checked the MSDN Documentation in three places
Another page at MSDN
Yet another page at MSDN
I've also checked the Visual Studio Documentation itself, which is rather obscurely organized.
I've even checked this website:
Lastly, I found this topic with a similar question but both the question page and the references inside do not have this icon. Thanks for your help.
This means that the file isn't included in the project.
You're only seeing it because you turned on Show All Files.
You should right-click the file and click Include in Project.
You have "Show all files" checked.
The dotted lines indicate files that have not been added to your project.
Right click on the file and click "Include in project" to include the file in your project.
That "dotted" icon mean that that file is not a part of your project or it is hidden and it is not included in your project.
That "dotted" icon is pretty similar to the icon in Solution Explorer called "Show all files". When you click on it you can see all the files and maybe you click on it or you have some issue and your file is not included in the project.
To include it you can right click one of those files go to Include In Project and that will add it to the project, which declares it in the manifest of your project. You can do it like this:
It is not included in your project and/or hidden.

How To View the Project > References Tab and All DLL Paths in non-VB projects?

When you create a VB project in Visual Studio there is a 'References' tab in the Project Properties window. It looks like this:
It's rather a helpful window as it shows the paths to all the referenced DLLs in one place and lets you add and remove references easily.
However this same tab does not appear for projects in other languages making it very difficult to check the path for each referenced DLL.
Can this tab be made viewable or available for other projects? If not, what is the simplest way to view all the referenced DLL paths at once?
Unfortunately the reference tab for the other languages does not exist.
But you can try to edit the xml project, with these steps:
Show the context menu on your project in the window solution explorer
Select: Unload project
Right click and select Edit
Edit the ProjectReference element in xml file
Save and close xml
Reload Project (right click in solution explorer)
I know this is not what you wanted, but it could be a quick alternative to display the path of your references.

Locate File in Slution Explorer in VS 2013

Is there a way to locate the current a file in the Visual Studio's "Solution Explorer"?
I don't want to always track the current file. But I would like to locate at demand the current file in the explorer.
I found a way, using macros(http://goo.gl/ejMx4D), but macros are not available in VS 2013/12.
Thanks.
Use this button or the shortcut Ctrl+[, S:
If you mean find the path where is stored some file, just select the file in solution explorer and next go to properties window. There is the full path of currently selected file.

TFS template customization - missing assembly

I have to customize TFS2010 default build proccess template. To work with Workflow Activity Library, I need to add a reference to C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client\10.0.0.0__b03f5f7f11d50a3a\ Microsoft.TeamFoundation.TestImpact.Client.dll. But the folder
Microsoft.TeamFoundation.TestImpact.Client doesn't exist in my GAC_MSIL folder or somewhere else.
I have VS Ultimate. Is there any settings or upgrades i'm missing?
This is a nice one :-)
The file is in a hidden piece of your drive. And with hidden, I do not mean that you can get it visible by unhiding all system files! No, it it actually hidden behind the custom list of GAC registered assemblies you can see at C:\Windows\assembly.
What to do:
1. Start windows explorer.
2. Paste C:\Windows\assembly\GAC_MSIL in the location bar and press enter.
Et voila, there is your list of GAC assemblies in a file formatted list, you can copy to your project space, or reference from your project directly.
Super hidden!

Explore containing folder instead of open containing folder

I use Visual Studio to do a lot of my coding. I find the open containing folder feature quite helpful. But I don't want the folder to be "opened" by the windows explorer, instead I want to "explore" the folder -- you know, get the nice little frame showing me all the other folders on the left hand side. Does anyone know how to do this?
Thank you,
Rohit
When invoking ShellExecute(), use the explore verb instead of the open verb: http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx.
Edit: If you don't mean programmatically, open Windows Explorer, go to Tools -> Folder Options, select the File Types tab, locate the Folder entry in the list (not File Folder!), click Advanced, and set "explore" as default instead of "open".
There really isn't much difference anymore between 'explore' and 'open' if you're talking about a folder. They both open the same window, just with different options active. When you 'open' the folder, you're only one click away (on my system at least) from seeing the folder tree as well- just click the "Folders" button in the toolbar.

Resources