Code Monkey home page Code Monkey logo

Comments (12)

ViRb3 avatar ViRb3 commented on September 24, 2024 1

Do you have .NET 2.0 installed? Seems like that's all sub-projects target. Unfortunately, I cannot reproduce this issue on my end or at GitHub's CI.

EDIT: Just reproduced it, please give me some time to investigate.

from de4dot-cex.

ViRb3 avatar ViRb3 commented on September 24, 2024

From your log:

BadImageFormatException: Could not load file or assembly 'de4dot.code, Version=3.1.41592.3405, Culture=neutral, PublicKeyToken=d3f3ed1e47f67fc6' or one of its dependencies. An attempt was made to load a program with an incorrect format.

You are trying to build de4dot.code for an unsupported architecture. Note that many of de4dot's sub-projects compile for x86 only, but they will still work just fine on x64. That said, if you leave the build settings as default (Mixed Platforms), everything should compile successfully, or at least it does here, on the CI server, and for everybody else.

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

image

I never even touched the build settings.

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

Alright, thank you.

from de4dot-cex.

ViRb3 avatar ViRb3 commented on September 24, 2024

Turns out I had accidentally made de4dot.code x86-only for Debug mode, which makes it unusable from de4dot-x64. This did not affect Release mode, so the CI and everything else was unaffected. I pushed a fix, please try it out and let me know how it goes.

Thanks for reporting!

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

Yeah, it compiles now but I'm encountering this other problem. xD
When I run:

de4dot-x64 Program.exe

I get:

Array dimensions exceeded supported range.
Array dimensions exceeded supported range.
Detected ConfuserEx v0.6.0 (G:\Blah\de4dot-cex\Debug\Program.exe)
Cleaning G:\Blah\de4dot-cex\Debug\Program.exe

Unhandled Exception: System.ApplicationException: Invalid new target, it's null

from de4dot-cex.

ViRb3 avatar ViRb3 commented on September 24, 2024

Can you confirm that it also happens with the pre-built binaries? If yes, please open a separate issue for that problem.

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

I will, but it's also worth mentioning that now the Release config won't compile.
image

from de4dot-cex.

ViRb3 avatar ViRb3 commented on September 24, 2024

GitHub CI can compile it, and so can I. try to clean your project maybe?

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

I cleaned the entire solution and tried again, still the same results.
image

from de4dot-cex.

ViRb3 avatar ViRb3 commented on September 24, 2024

Your output log suggests 17 succeeded and 0 failed builds, so there should be no problems.

from de4dot-cex.

theerfan avatar theerfan commented on September 24, 2024

I will, but it's also worth mentioning that now the Release config won't compile.
image

I got this again after the clean builds.
P.S: Ik it's a run-time problem but still. xD

from de4dot-cex.

Related Issues (19)

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.