Does it works with assemblies mixing unmanaged code ? |
| reg t replied to Peter Bromberg at 05-Jan-08 04:42 |
I now got an exception trying to use an assembly wraping unmanaged code.
The target application is a long-used one, so it works fine so far. It is mainly managed code, but it use one libray wraping unmanaged code.
The loader-application load the main assembly and resolve the rest of the assembly including the wraping library. It works fine whenever the logic in the unmanaged code is not needed. As soon it is required, this exception is thrown:
System.IO.FileLoadException was unhandled Message="Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)" Source="Match"
Q: Is this method (packing-zip-obfuscation) expected to works with assemblies mixing unmanaged code ? What should I do?
|
|