Partial trusted call from Excel application to shared memberes of referenced assembly

In my Excel aplication I should use external assembly, which contains some shared members. I compiled this external assembly with AllowPartiallyTrustedCallersAttribute, but still Excel fails on calling the constructor with security exception "That assembly does not allow partially trusted callers".
 
Maybe somebody has an idea which side I should look for According to all docs it should work, but it fails...



Answer this question

Partial trusted call from Excel application to shared memberes of referenced assembly

  • Stuart_D

    Are you using Visual Studio Tools for Office to create your Excel solution If so, please note that documents and assemblies in VSTO solutions require Full Trust.

    Thanks!

    Mike Hernandez
    Community Program Manager
    VSTO Team

  • Partial trusted call from Excel application to shared memberes of referenced assembly