|
Hello?
When i try to merge i get this error
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Unable to cast object type of 'System.Compiler.Class' to type 'System.Compiler.Struct'.
Please help i need ILMERGEGUI
because the ILMERGE in microsoft.com link is broken
THANKS
!
|
|
|
|
|
Message Removed
modified 15-Feb-21 18:51pm.
|
|
|
|
|
Can you explain how to use your fantastic program
What do I put in Output Filename, Primary Assembely, Other Assemblies and what is Strong Key Location?
Do i use the exe fil from bin/Debug?
Or the published build?
|
|
|
|
|
|
I can't add my resources.dll into my main .exe program, because there is a stackoverflow while mergin...
|
|
|
|
|
All of my code is using .NET 4.0. I downloaded the source and it won't compile in VS2010 because of missing assemblies.
The istalled version barfes at all of my code (newer version).
This looks like a good project, so spending extra time to upgrade it seems worthwile.
You can get a 1 or a 5 from me pending if you fix that.
Ciao,
Walter
|
|
|
|
|
|
Hi!
I was just gonna ask, because it seems I cant merge any DLL's at all.
Ive tried my own and random DLL's located on my computer.
Now, I dont think its any issue with the application since its working for other people.
Error Msg: "Could not load assembly from the location 'c:\......'. Skipping and processing rest of arguments"
I cant find any answer or reason to this error message, more than it doesnt accept the DLL.
But I have tried so many different ones, so it would be strange if all DLL's on my computer is not
acceptable.
So I thought it could be I am going at it all in the wrong way when trying to merge files.
So I was just wondering if there is a simple step-by-step instructions to this application?
I've not found any for ILMerge except how to write the inparameters.
What confuses me, is couple of things...
Does it matter which DLL files I use as Primary Assembly, or do I have to do it in a certain way?
I write in a DLL name as output, does it need to exist, or will it be created automaticly?
What I wanted to do, is to merge 2-3 DLL files into a already created DLL file.
I set a existing DLL file (which I want to have as the only one) or I just put in a new name.
I then put in one of the DLL's in the Primary Assembly, and add the second one to the Other Assemblies.
I dont use strong key, and I have target type as DLL. When clicking the merge button, the error above
comes up. Same issue if I try to merge it into a *.exe file.
|
|
|
|
|
Answering to your question an Add_In to merge different assemblies into one in VS2008 is feasible.
I will look into this and come up with the code asap.
RGDs Andrea
|
|
|
|
|
Is if we could build a Visual Studio add-in that allowed all of a project's dependent assemblies to be automatically ILMerged into a single output assembly.
Think that would even be possible?
“It behooves every man to remember that the work of the critic, is of altogether secondary importance, and that, in the end, progress is accomplished by the man who does things.”
–Theodore Roosevelt
{o,o}.oO( Check out my blog! )
|)””’) http://pihole.org/
-”-”-
|
|
|
|
|
Found the next best thing:
http://blogs.msdn.com/jomo_fisher/archive/2006/03/05/544144.aspx[^]
It's a quick hack that allows a project to be compiled and merged to a single assembly, based on dependent assemblies that have CopyTo true.
It would be nice if someone could make this into an actual add-in so it could be enabled with a simple flag right in the IDE, but this will abate me for now.
“It behooves every man to remember that the work of the critic, is of altogether secondary importance, and that, in the end, progress is accomplished by the man who does things.”
–Theodore Roosevelt
{o,o}.oO( Check out my blog! )
|)””’) http://pihole.org/
-”-”-
|
|
|
|
|
Is it me, or is the saving and loading of configurations not working correctly?
|
|
|
|
|
Update: When saving, an xml file is created, but the tags are empty. So the problem is the saving, not the loading
|
|
|
|
|
I went looking for an update to Gilma which I have used for quite a while and ran across your version here. My main complaint about the original was the results message box which you added a scrollbar to...THANKS!!!! Love it!
|
|
|
|
|
Why don't you merge your implementation with the sourceforge project? It would be cool to have all the stuff in a single place, and sourceforge provides a great hosting for open source projects, too.
Simone Busoli
|
|
|
|
|
A screen shot would be good idea to add to this article.
.net is a box of never ending treasures, every day I get find another gem.
|
|
|
|
|
Excellent Tool!!!
I'm getting the following message when combining a C# exe and a C++ dll.
The assembly 'wqsa001' is not marked as containing only managed code.
(Consider using the /zeroPeKind option -- but read the documentation first!)
How do I include the /zeroPeKind option. I've quickly looked through the source and it wasn't obvious to myself.
|
|
|
|
|
Done In the project you can download the new one and check the ZeroPeKind checkbox if the sources are mixed (managed & unmanaged).
Other options are availabel, it is fairly simple to add the to the code. I will add others if someone ask me too.
Andrea Tuscano
|
|
|
|
|
When I merge the first time it works, but if I try to merge again (without restarting the application) I get an exception.
Got the same error when I tried to create my own ILMerge GUI:
An unhandled exception of type 'System.StackOverflowException' occurred in ILMerge.exe.
Anyone got a solution for this?
|
|
|
|
|
Unfourtinaly, i've been struggling with an answer for this since the beginning of march! I had to run it as a seperate process using the "Process" Object which sucks because it shows the ugly black cmd box.
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
|
Good job,
I like it more than NuGenUnify (no offense). More familiar look, no startup delay (8 seconds for NGU)...
Though I would really like if your app supports file drag-n-drop operations: it is simple to implement and improves usability a lot.
Anyway, useful utility.
Cheers,
Oleg
|
|
|
|
|
Good points...
Will implement... The splash needs to go away anyway!
Thanks
|
|
|
|
|
Good Idea,
I will try to add this functionality.
|
|
|
|
|
Removed startup delay, optimized threading and added drag-n-drop.
Thanks
- I often wonder if my nostrils are considered large
|
|
|
|