GithubHelp home page GithubHelp logo

Comments (10)

damianh avatar damianh commented on July 24, 2024

Looks like a known problem Mono.Cecil jbevain/cecil#152

from il-repack.

lextm avatar lextm commented on July 24, 2024

@damianh Yes, I think that's a known problem. The possible fix is to modify RepackAssemblyResolver to add PCL related paths to Cecil search paths. I have just done that for Obfuscar, and just started to work on testing it out on IL-Repack. Will send a pull request when I finish.

from il-repack.

dennisdoomen avatar dennisdoomen commented on July 24, 2024

Unfortunately this still doesn't work. Just try to merge a .NET 4.5 assembly with Autofac and the same problem with System.Core appears.

from il-repack.

schuettecarsten avatar schuettecarsten commented on July 24, 2024

Problem still there with ILRepack 1.26

from il-repack.

gluck avatar gluck commented on July 24, 2024

Strange, there's now a passing test that round trips Autofac net45 assembly (with no error).
Do you have an easy reproduction path ? (ideally that would be the merge of a set of dlls available from NuGet packages)

from il-repack.

dennisdoomen avatar dennisdoomen commented on July 24, 2024

Yes, just merge a DLL that references Autofac and then try to merge that one in another .DLL that also references Autofac, preferably a different version.

from il-repack.

schuettecarsten avatar schuettecarsten commented on July 24, 2024

This also happens without Autofac. It seems to be a problem with Assemblies from .net 4.5. I have a simple application that references System.Core and several Azure Management assemblies.

from il-repack.

gluck avatar gluck commented on July 24, 2024

If someone can provide the simplest project or assembly that causes this when merged, I can have a look.
Autofac NuGet package only has a net40 dll and a portable-win+net40+sl50+wp8 one, tests are running with the former only so far.

from il-repack.

biz0n avatar biz0n commented on July 24, 2024

I am trying to merge a libraries from zip archive
The command I am using is:
mono ILRepack.exe /targetplatform:v4 /out:test.dll Autofac.dll Nitro.Async.dll

OS X 10.10.3

from il-repack.

SarahBourgeois avatar SarahBourgeois commented on July 24, 2024

specify the path of your dll in the command line
ILRepack.exe /out:Merged.exe ILRepackTest.exe C:\My_dll_Path\Autofac.dll

from il-repack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.