Poser une questionPoser une question
 

TraitéeCannot use DLL library in my code

  • mardi 27 octobre 2009 14:35xslaugh Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Hi,

    I just downloaded the C5 collections library to use in one of my projects.  I downloaded the DLL version of the library, and have add a reference to it to my project.  However, whenever I try to use the DLL, I get this error:

    System.Security.SecurityException: That assembly does not allow partially trusted callers.

    I haven't been able to get rid of this error.  As far as I know, all of my code should be running in full trust mode.  Does anyone have any ideas?

    Thanks!

Réponses

  • mercredi 4 novembre 2009 16:13xslaugh Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    I tried a few things and wasn't able to get the dll working.  I finally ended up just downloading the source and compiling the dll myself, after which it worked fine.
    • Marqué comme réponsexslaugh mercredi 4 novembre 2009 16:13
    •  

Toutes les réponses