GithubHelp home page GithubHelp logo

Stackoverflow problem about il-repack HOT 3 CLOSED

gluck avatar gluck commented on July 4, 2024
Stackoverflow problem

from il-repack.

Comments (3)

mikebridge avatar mikebridge commented on July 4, 2024

I had the same error but removing /targetplatform:v4 fixed it for me.

from il-repack.

salqadri avatar salqadri commented on July 4, 2024

I just downloaded this tool today and tried it out and is giving me a StackOverflowException no matter what I try:
ILRepack.exe /targetplatform:v4 /target:library /out:"C:\foobar.dll" "C:\foo.dll" "C:\bar.dll"

Stack Trace:

...
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.GenericParameter gp, Mono.Cecil.IGenericParameterProvider gpp) Line 270 + 0x47 bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 191 + 0x2f bytes C#
ILRepack.exe!ILRepacking.PlatformFixer.FixPlatformVersion(Mono.Cecil.TypeReference reference) Line 132 + 0x38 bytes C#
ILRepack.exe!ILRepacking.ILRepack.Import(Mono.Cecil.TypeReference reference, Mono.Cecil.IGenericParameterProvider context) Line 1528 + 0x2b bytes C#
ILRepack.exe!ILRepacking.ILRepack.CloneTo(Mono.Cecil.FieldDefinition field, Mono.Cecil.TypeDefinition nt) Line 1287 + 0xa9 bytes C#
ILRepack.exe!ILRepacking.ILRepack.Import(Mono.Cecil.TypeDefinition type, Mono.Collections.Generic.Collection<Mono.Cecil.TypeDefinition> col, bool internalize) Line 1900 + 0x14 bytes C#
ILRepack.exe!ILRepacking.ILRepack.RepackTypes() Line 898 + 0x66 bytes C#
ILRepack.exe!ILRepacking.ILRepack.Repack() Line 706 + 0xc bytes C#
ILRepack.exe!ILRepacking.ILRepack.Main(string[] args) Line 230 + 0x10 bytes C#

from il-repack.

odinserj avatar odinserj commented on July 4, 2024

Removing /targetplatform:v4 helped me too.

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.