Profile Picture

ILMerge output isn't working

Posted By usyber 9 Years Ago
Author
Message
usyber
Question Posted 9 Years Ago
View Quick Profile
Junior Member

Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 10, Visits: 106
Dear Nevron forum,

I have a build process which merges all assemblies into one executable with the ILMerge tool. The output executes fine on my development machine. But on an other desktop machine the executable fails with the added message box. The executable also starts fine when I add all missing Nevron assemblies to the desktop machine. Can I use the ILMerge tool and what do I have to do for?

There already exists a thread with the ILMerge tool https://www.nevron.com/Forum/3146/ILMerge-to-protect-dll?Keywords=ILMerge. But in my case it isn't working.





best regards,
Uli   



Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi,

From the attached error message it looks like you haven't added the Nevron.System assembly to the ILMerge build. On your development machine you have Nevron Vision installed and your application manages to get the missing assembly from the GAC (or from somewhere else), but on your other machine this missing DLL is not available and most probably this causes the error.

Please check out your build process and make sure that all required assemblies (Nevron.System, Nevron.Presentation, etc) are added to the ILMerge tool. Let us know whether this solves the problem.


Best Regards,
Nevron Support Team



usyber
Posted 9 Years Ago
View Quick Profile
Junior Member

Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)Junior Member (16 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 10, Visits: 106
Thank you for your response.

Yes the problem disappears when I copy all claimed Nevron assemblies in the runtime directory of the merged executable, as I have described it above. A look into the merged executable (ILSpy tool) shows that all necessary namespaces of the Nevron assemblies are added.  

I think the behavior comes due to the license mechanism because the merged executable runs without problems on my development machine. The problem is only on a desktop machine available.

best regards,
Uli 





Similar Topics


Reading This Topic