unhandled exception system.badimageformatexception could not load file or assembly

Issues related to VMProtect
Post Reply
haseakash
Posts: 9
Joined: Mon Apr 18, 2022 7:25 am

unhandled exception system.badimageformatexception could not load file or assembly

Post by haseakash »

Hello Admin.

I am planning to buy VMP.
I am using .NET core 6.0 C# Console App.

I am getting following error when i was trying to pack published folder into 1 exe.

Here are my steps..

1) Created Hello program with Console.read() ; C# >.net Core 6.0 >Console App
2) Release>Win-x86>AnyCpu>Published>Self contained
3) Published folder contains all runtime files with Hello.dll and native Hello.exe.
4) Vmp 3.6 latest demo. Selected Hello.DLL > added function >selected Main > virtualization.
In option Tab : Memory protection : Yes. Import Protection : Yes . Resource Protection : Yes . Packed to output file : Yes
Debugger : User mode+ kernel mode. Virtualization Tools : Yes . Skip Debug Info :Yes
5) Compiled Hello.dll by VMP (Setp 4 settings).
6) Now in published folder deleted old Hello.dll and renamed Hello.vmp.dll to Hello.dll
7) Program works fine.

Here i want to build single file only without dll file showing in Application folder.

*) Opened VMP. selected Hello.EXE In files Tab added all files in published folder (without Hello.exe). Also added step 5 previous protected dll into it
9) Program shows error
unhandled exception system.badimageformatexception could not load file or assembly

So can u please fix this bug in next release in VMP?
We need single file with protection (Do not want to dll in launch folder)
I have still need BoxedApp PACKER to archive my goal. BoxedApp works fine with protected dll to make single file.

Is it worth to pay 499$ instead of 199$ ? For Virtual Files ? Where BoxedApp packer works well With strongest VMP protection.
You have to improve virtual files method with Protection.

WE JUST NEED ONLY 1 SINGLE FILE If we buy Ultimate version.

Please reply Admin.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: unhandled exception system.badimageformatexception could not load file or assembly

Post by Admin »

Try to publish Hello.EXE + protected Hello.DLL without protection of Hello.EXE
haseakash
Posts: 9
Joined: Mon Apr 18, 2022 7:25 am

Re: unhandled exception system.badimageformatexception could not load file or assembly

Post by haseakash »

hello Admin..

I have Tried. Same error. No luck. Please test yourself using C# .NET CORE CONSOLE.

I need solution for this.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: unhandled exception system.badimageformatexception could not load file or assembly

Post by Admin »

Post Reply