Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can UPX ( compact .net executables/dlls ?

share|improve this question
up vote 2 down vote accepted
upx: a.exe: CantPackException: .NET files (win32/net) are not yet supported

That is what the most recent version (3.04, 27 Sep 2009) tells me.

share|improve this answer
Just a follow up. I downloaded current version (UPX 3.07, September 08, 2010) and still getting this message. – Paige Watson Nov 23 '10 at 18:44

UPX is only for native executables. There are a number of compressors for .NET executables around you could try my one RPX it does good compression even on small executables and can bundle multiple DLL(s) into a single .EXE file.

However there are some limitations caused by the manner, or more precisely the order, by which .NET looks for additional assemblies to load and where from (i.e 1. GAC, 2. File system, 3. Bundle) and is complicated more if you are using AppDomains inside your application.

Check the docs for more details. Hope that helps.

Please note: This is my project and as such this answer should not be seen as an endorsement from a third party. That said I do use it regularly, it is open source and it is my hope that others may benefit from it.

share|improve this answer
I see RPX as an alternative. It doesn't look like anything has happened with it in 4 years though. Is it done or did you stop working on it? Also Chrome doesn't like your codeplex project (although it appears safe). – ferventcoder Mar 11 at 14:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .