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

  • Home
  • SEARCH
  • 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 8947583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:47:58+00:00 2026-06-15T12:47:58+00:00

Is it good practice to bundle all required managed dlls as embedded resources to

  • 0

Is it good practice to bundle all required managed dlls as embedded resources to a .NET library project in order to ship just one dll?

Background:
I have created an API as a .NET dll (in C#), and it’s working all fine. But the library has quite some dependencies on other managed libraries (around 15 dlls) so I need to distribute those as well.

When the users of my API have created an application they again have to make sure to distribute all those dlls along with the application. To me it would seem better if they had just one dll to consider.

The main downside I can see to using embedded dlls is that they must be unpacked to a temporary folder before being loaded dynamically, which may or may not have performance and robustness issues.

  • 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-15T12:47:59+00:00Added an answer on June 15, 2026 at 12:47 pm

    There are a lot of questions around this. What happens if you’re expecting to load a platform-specific dependency (i.e. x86 vs. x64), or that’s true about the app consuming your API? Does that mean that you need to include specific x86 vs x64 assemblies in your package as well? It becomes hairy quickly.

    You should consider using ClickOnce deployment for these types of scenarios. Then, all of the dependencies would be packaged together.

    Realistically, it’s a problem for the API consumer to solve, not for the API producer. Your API might be less popular if it has a lot of external dependencies, but you’ll have to make decisions there about what’s really crucial to your API’s success.

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

Sidebar

Related Questions

Is it good practice to set all text fields to nvarchar(MAX)? if im not
Is it good practice to have one shared SqlConnection object in a .NET application
Is it good practice to make sure that all abstract classes have names prefixed
Normally is it good practice to set all database columns as NOT NULL or
Is it good practice to reference my web applications domain layer class library to
Is it a good practice to group all the variables of same type together
What is considering good practice using datatables in an asp.net applications? I need to
Performance/good practice question - should I check if object exists or just delete it?
Is it a good practice to use Fragment.setRetainInstance() for all of your Fragments in
It is good practice to use the main method to test a java/.net class?

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.