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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:16:08+00:00 2026-06-01T21:16:08+00:00

I have two DLL files which I’d like to include in my EXE file

  • 0

I have two DLL files which I’d like to include in my EXE file to make it easier to distribute it. I’ve read a bit here and there how to do this, even found a good thread here, and here, but it’s far too complicated for me and I need real basic instructions on how to do this.

I’m using Microsoft Visual C# Express 2010, and please excuse my “low standard” question, but I feel like I’m one or two level below everyone else’s expercise :-/ If someone could point out how to merge these DDL files into my EXE in a step-by-step guide, this would be really awesome!

  • 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-01T21:16:09+00:00Added an answer on June 1, 2026 at 9:16 pm

    For .NET Framework 4.5

    ILMerge.exe /target:winexe /targetplatform:"v4,C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /out:finish.exe insert1.exe insert2.dll
    

    ILMerge

    1. Open CMD and cd to your directory. Let’s say: cd C:\test
    2. Insert the above code.
    3. /out:finish.exe replace finish.exe with any filename you want.
    4. Behind the /out:finish.exe you have to give the files you want to be
      combined.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different files, Foo1.exe and Foo2.dll. When I try to use an
I have this c# web app that relies heavily on two dll files that
Does ClickOnce only look at the application manifest file to determine which dll files
I have two WIN32 DLL projects in the solution, main.dll should call a function
An application I have recently started work on has to register two dll's, because
Have two folders with approx. 150 java property files. In a shell script, how
I have two build definitions for my project which has two branches. Development and
I have a .NET 4 app which consists of the app and two class
I have an EXE class which contains a button resource with ID EXE_BUTTON_RESOURCE ON_UPDATE_COMMAND_UI(EXE_BUTTON_RESOURCE,
Let's say you have two products A and B which are both developed, tested

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.