Profile Picture

ILMerge to protect dll

Posted By JSW W. 12 Years Ago
Author
Message
JSW W.
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 127, Visits: 1
Are there some solution to protect your dll by some merge operation?
Would there be potential problem?

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,026, Visits: 3,660

We don’t think there will be any problems if you want to use ILMerge though we haven’t tested with this utility.



Best Regards,
Nevron Support Team



JSW W.
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 127, Visits: 1
Nevron.Presentation.dll
Nevron.System.dll

I am using version 2010 and have license for chart and ui. These are the two that will not merge with ilmerge. what could be the problem.

Do i need the presentation.dll at all according to my license?


JSW W.
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 127, Visits: 1
I also further test with Nevron.UI.WinForm.Skins.dll.
The dll will merge but skin will not find it resources, images etc.

Thanks,

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,026, Visits: 3,660
Hello JSW W.,

I've tried to create a new assembly which contains Nevron.Presentation.dll, Nevron.System.dll and Nevron.UI.WinForm.Skins.dll assemblies using ILMerge.
Then I referenced this new assembly and I was able to compile and ran my test project successfully.

To be able to apply skin you should change the value of NSkinResource.AssemblyName property to the name of the assembly that contain Nevron.UI.WinForm.Skins assembly.
Also, if you using Visual Studio 2010 you should change the value of Target Framework property in your project properties to .NET Framework 4.

I hope it helps.

Best Regards,
Nevron Support Team



JSW W.
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 127, Visits: 1
how did you reference your new dll?

Dim t_panel As NDockingPanel
t_panel = New NDockingPanel

I try this and i won't find the Nevron.presentation...

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,026, Visits: 3,660
Hello JSW W.,

NDockingPanel is in Nevron.UI.WinForm.Docking assembly.
You should include this assembly too.

Best Regards,
Nevron Support Team



JSW W.
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 127, Visits: 1
I have tried another combine... and i received this error.

Unresolved Assembly reference not allow : Nevron.GraphicGL ... this only happen in xp not in windows 7.

Also if you combine more dlls that your example you will not be able to combine the presentation. and system dlls with other nevron.dlls.

If you can tell which dll is Nevron.GraphicGL conflict, I can exclude it from combine list.

Thanks,

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)Supreme Being (4,273 reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,026, Visits: 3,660
Hello JSW W.,

Please, check whether all Nevron assemblies have the same assembly version.
If you are going to use only UI controls you will need only Nevron.System, Nevron.Presentation, Nevron.UI.WinForm.Docking and Nevron.UI.WinForm.Skins assemblies.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic