Quantcast
Channel: obfuscar Wiki Rss Feed
Viewing all articles
Browse latest Browse all 55

Updated Wiki: FAQ

$
0
0

How to troubleshoot TypeLoadException?

After obfuscation, the application might not work and TypeLoadException is quite common a case. One such case is

http://stackoverflow.com/questions/24058302/obfuscar-2-0-could-not-load-type-from-assembly

There can be other similar cases, where either explicitly or implicitly the application code itself requires an instance to be initialized at runtime by reflection. Since reflection requires metadata, which obfuscation manipulates heavily, such initialization could fail.

The workaround is to skip such types or methods in obfuscation, so that reflection can still find them out.

Note that it is rarely a bug of Obfuscar.

Viewing all articles
Browse latest Browse all 55

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>