Page 1 of 1
Failed to protect .Net application.
Posted: Thu Oct 20, 2022 3:33 pm
by dogesharp
SDK: .Net Framework 4.7.2
VMP version:1530 (4.7.2)
Error message:Runtime error at CompileToVM: neg
MemProtect,ImportProtect,ResourceProtect,PackOutput were enabled.
Strip debug info was disabled.
Both 4.7.0 and 4.7.1 are worked.
sorry, I cannot provide the source code.
Re: Failed to protect .Net application.
Posted: Thu Oct 20, 2022 5:06 pm
by Admin
Could you provide us an exanple (original EXE+VMP files) that shows your problem?
Re: Failed to protect .Net application.
Posted: Fri Oct 21, 2022 1:44 am
by dogesharp
After many many tests,I finally found what code caused this error.
Here is the simple source code.
Re: Failed to protect .Net application.
Posted: Fri Oct 21, 2022 3:57 am
by Admin
Please try the 1537 build.
Re: Failed to protect .Net application.
Posted: Fri Oct 21, 2022 4:04 am
by dogesharp
Admin wrote:Please try the 1537 build.
Thanks,fix confirmed!
By the way,it seems that app using FodyWeavers.Costura (a .net assemblies packer plugin) cannot enabled Strip Debug Info function.Any idea on this?
the error is :
[Error] Can't resolve assembly: mscorlib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Re: Failed to protect .Net application.
Posted: Fri Oct 21, 2022 4:05 am
by Admin
The problem is here:
mscorlib, Version=0.0.0.0