Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1035025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:28:59+00:00 2026-05-16T14:28:59+00:00

Simple question: In Visual Studio, how can I see whether an assembly is referenced

  • 0

Simple question: In Visual Studio, how can I see whether an assembly is referenced from the GAC or whether the reference is simply referenced through the (‘normal’) file system?

I thought I’d be able to deduct this by looking at the .csproj file but maybe not. Here’s an outtake from my .csproj-file:

<Reference Include="MoreLinq, Version=1.0.11522.0, Culture=neutral, processorArchitecture=MSIL">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>..\lib\MoreLinq.dll</HintPath>
</Reference>
<Reference Include="Oracle.DataAccess, Version=9.2.0.401, Culture=neutral, PublicKeyToken=89b483f429c47342">
  <SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System" />

I know that Oracle.DataAccess and System is referenced from the GAC and MoreLing (thanks Jon!) is referenced through the file system. The only difference I can see is that MoreLinq has a HintPath value. Is that what distinguishes a GAC reference from a file reference? In any case I can’t see this in VS

Since this has a big impact on how assemblies are loaded, I would assume this information would be easy to get to, but I may be wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:29:00+00:00Added an answer on May 16, 2026 at 2:29 pm

    I think that you can’t know this for sure without running the program. If the ‘Copy local’ property of the reference is set to False, it shows that the DLL comes from the GAC.
    But remember that the GAC has priority over the rest of the file system (including the current directory).

    At run-time, you can be sure through the Debug / Windows / Modules window, where you can see the exact path of the loaded DLL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Simple question. I use Visual studio and I've just installed subversion, how can i
This is Crystal Reports 9 in Visual Studio 2003 by the way Simple question
really simple question -> i can't seem to get any data from Log4Net in
Simple question: Can a swing frame be completely modal ( block all others windows
I have a simple Windows Forms (C#, .NET 2.0) application, built with Visual Studio
A quite dumb question but i simply can't find the answer. I have a
The question says it all... its pretty simple, and it can be done by
Really easy question for somebody, I know it’s really simple but I just can’t
In this very simple ASP.NET application, Visual Web Developer 2008 Express CAN debug the
It is my first experience with .net, so the question can be simple. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.