How can we help you today? How can we help you today?

Problem in protecting

I want to protect my datalayer dll which use entity framework as ORM.
in unprotected dll every thing work fine.
but when I protect file with smart assembly and sign the assembly with same key.
I got following error:
Got unexpected type of System.Data.SqlClient.SqlConnection instead of a ProfiledConnection
amirhp
0

Comments

1 comment

  • Jessica R
    Hi Amir,

    Thanks for your post!

    Can I first check--what protection options do you have enabled on the assembly?

    You'll likely need to exclude some code from obfuscation, pruning, and/or control flow obfuscation to avoid the error.

    For any of these protection options that you have enabled, could you please try disabling them one at a time to determine the one causing this?

    Please let me know how you get on!
    Jessica R
    0

Add comment

Please sign in to leave a comment.