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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:39:32+00:00 2026-06-06T16:39:32+00:00

What will be the impact, if an application has unused DLL reference (framework dll)

  • 0

What will be the impact, if an application has unused DLL reference (framework dll) added to the project during compilation?

Like, will it increase the assembly size? will it load those DLLs at runtime? etc

This question is not about optimization. This is to better understand the .NET infrastructure.

  • 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-06T16:39:33+00:00Added an answer on June 6, 2026 at 4:39 pm

    No, the C# compiler only puts assembly references in the final assembly for assemblies that contain types that are actually used in your code. The only impact of adding unused assemblies is a very slight slowdown of the compilation itself.

    You can see this for yourself with ildasm.exe. Run it on the final assembly, double-click the manifest and look for the .assembly directives.

    This is heavily optimized at runtime as well, assemblies are loaded by the just-in-time compiler. Which only does so if you actually call a method of a type in that assembly.

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

Sidebar

Related Questions

How much of an impact will migrating to Flex 4 have on our code
Will the events that I added to the global event bus deleted by calling
Will Java 8 support pattern matching like Scala and other functional programs do? I'm
We have a mid-size SQL Server based application that has no indexes defined. Not
I'm wondering if there is any impact on performance when I will set UseLayoutRounding
My CF application has a very customized UI, using lots of images as UI
I will (hopefully) be taking on a large project to migrate an enterprise Visual
I'm curious as to whether the following will negatively impact performance in a significant
I'm developing a server application, and would like to harness the flexibility and (possible)
Our client has an application that stores blobs in database which has now grown

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.