You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.
I'm using ConfuserEx to obfuscate a .NET Standard 2.0 assembly. The assembly has a class with a static array initializer. Using obfuscated assembly fails with System.TypeInitializationException in the static constructor that is generated by ConfuserEx (in order to initialize the static array field). Inner Exception says "COMException: Record not found on lookup. (Exception from HRESULT: 0x80131130)". This happens even when my ConfuserEx project does not contain any rules:
Changing TargetFramework for this library from netstandard2.0 to net471 makes the problem disappear.
I understand that ConfuserEx is no longer maintained. Is there a way to turn off the protection rule that generates this static constructor for array initialization? What should I put in my project file?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using ConfuserEx to obfuscate a .NET Standard 2.0 assembly. The assembly has a class with a static array initializer. Using obfuscated assembly fails with System.TypeInitializationException in the static constructor that is generated by ConfuserEx (in order to initialize the static array field). Inner Exception says "COMException: Record not found on lookup. (Exception from HRESULT: 0x80131130)". This happens even when my ConfuserEx project does not contain any rules:
Changing TargetFramework for this library from
netstandard2.0
tonet471
makes the problem disappear.I understand that ConfuserEx is no longer maintained. Is there a way to turn off the protection rule that generates this static constructor for array initialization? What should I put in my project file?
The text was updated successfully, but these errors were encountered: