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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:33:23+00:00 2026-05-13T01:33:23+00:00

I have a .net 3.5 application and i’d like to make it portable. It’s

  • 0

I have a .net 3.5 application and i’d like to make it portable.
It’s simple and runs perfectly, i’ve sent the .EXE + .DLL’s to some friends and it works as intended when running the exe with the .DLL’s and the .ICO (that i have used in it) along in the same folder.

What i want is simple: creating a single EXE file that cares the dll’s, image and whatever-i-want along with it without being a setup, and requiring no installation. (a.k.a portable)

I may consider migrating it to .net 2.0 if needed, i don’t use any 3.5-only functionality, in fact, i’m not really sure why i’m using 3.5 (i’m new at programming anyhow)

I’d like any tips, links, or an explanation on how to do it, because it’s really annoying sending .rar’s to my friends and telling them to extract and run the .exe among all “weird files” as they call (besides, not everyone has extension display in folders, so it’s a nightmare)

(I have searched in StackOverflow, and haven’t found any questions that answer what i’m asking, the only one that I found to be like it ended up in a discussion of framework availability in windows machines, language choosing and no good answers.)

  • 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-13T01:33:23+00:00Added an answer on May 13, 2026 at 1:33 am

    You can use ILMerge to merge all the assemblies into your executable. I’d expect your icon to already be an embedded resource – or you should at least be able to create it as such.

    Targeting .NET 2.0 would make the application more widely portable in that it would just work on machines which only have .NET 2.0 installed – but I don’t know what the proportions look like for 2.0 vs 3.5 deployment, and more importantly they may well not be the same as the proportions for deployment out of your target audience.

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

Sidebar

Related Questions

I have a .NET application that runs on both x86 and x64. I'd like
I have a .NET application running on windows. I want clicking on some page
I have a .NET application that uses some API calls, for example GetPrivateProfileString .
I have a .net application (c#) that goes something like this public partial class
I have asp.net application runs on iis 7. Until today everything works fine (for
I have .NET application and would like to allow users to write macros. Any
I have a .NET application that references some C++ assemblies. My application requires the
I have a .net application that is doing COM interop and calling some native
I have a .NET application which has a custom configuration to re-construct some classes
I have ASP.NET application on hosting provider for some tasks that I can't do

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.