gluck / il-repack

Open-source alternative to ILMerge
Apache License 2.0
1.17k stars 214 forks source link

Small compiling issue #48

Closed wvdvegt closed 10 years ago

wvdvegt commented 10 years ago

Hi,

After using the pachted Mono.Cecil version ILRepack almost compiles on my machine.

A single line stil gives a namespace collision (line 1693 in ILRepack.cs):

Mono.Cecil.CallSite ncs = new CallSite(Import(call_site.ReturnType, parent)) {

should imo read:

Mono.Cecil.CallSite ncs = new Mono.Cecil.CallSite(Import(call_site.ReturnType, parent)) {

After this change it compiles just fine and I can finally start supporting it in ILMerge-Gui at codeplex.

regards wvd_vegt

gluck commented 10 years ago

There's no conflict in the project (no other CallSite type), hence I guess you've got something else triggering that. But I applied your change for namespace consistency anyway, thanks.