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 8490859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:14:53+00:00 2026-06-10T22:14:53+00:00

I have a binary (let’s call it DllParent) that has a reference to another

  • 0

I have a binary (let’s call it DllParent) that has a reference to another DLL (DllChild). When adding a reference, we have an option of setting the SpecificVersion property to true or false.

enter image description here

When looking at DllParent in Reflector (or similar tool), is there a way to find out whether the developer set the SpecificVersion property for DllChild to true or false?

  • 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-06-10T22:14:55+00:00Added an answer on June 10, 2026 at 10:14 pm

    The answer is no.

    When you add a reference to a strongly named assembly to your project the Visual Studio stores the full strong name that includes version in your .csproj file.

    Then during each build when MSBuild code tries to resolve assembly references, that is to find the actual assembly file that it can use during the build, if SpecificVersion is set to true then the version in the .dll would have to match the version specified in the project file.

    This may present a problem that if you want to upgrade to a new version of the assembly you would need to go and change references in all your projects that use that assembly because otherwise the build would fail, so to simplify your life you can just set SpecificVersion to false.

    In this case your build could still fail after upgrade if some method signatures have been changed. This would be bad but fixable if you get the error while compiling the project but if the same thing would be allowed to happen during runtime, for the end user this would present a serious problem.

    So, .Net does not allow this to happen by enforcing strict matching of the exact version that was used during build time regardless of the value of SpecificVersion in your project file.

    MSBuild just stores the version with the assembly reference in the binary .dll file and after that examining it with Reflector would only show you which version of the referenced assembly the MSBuild have actually used, not how it had resolved the project’s reference.

    It is still possible for the developer of the referenced assembly to specify that a new version could safely be used instead of an old version but this is done through different mechanisms:

    1. If the public interface have changed but in a way that is compatible with the old version (say adding a method is compatible but removing or changing parameters are not) then a policy file could be deployed along with the new version to tell .Net system that it is a safe substitution. (http://msdn.microsoft.com/en-us/library/dz32563a.aspx)

    2. If the public interface is exactly the same and only the internal implementation of methods was changed then the developer of the referenced assembly can just keep the same AssemlyVersion value but change AssemblyFileVersion. In this case the file version that you can see in Windows Explorer would be updated but the strong name would stay the same. That’s what Microsoft does when it updates, say, System.dll

    In both cases the referencing assembly (DllParent in your question) would still have the original version number inside.

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

Sidebar

Related Questions

Let's say I have a binary file that is formatted like [unsigned int(length of
Let's assume that we have int x = 371 , that is in binary
Let's say we have an SDK in C++ that accepts some binary data (like
Let's say that I have a binary that I am building, and I include
Let's say you have a List<List<Boolean>> and you want to encode that into binary
Let's say we have a binary file that contains 2 bytes that form an
Let's say I have two binary images of the same size. How do I
Let’s say I have a number like 0x448 . In binary this is 0100
I have binary data in my database that I'll have to convert to bitmap
I have a binary image that represents a number in MATLAB: I'd like to

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.