none
Third Party Unsigned Dlls RRS feed

  • Question

  • Hi all,

    I created an application with shared assemblies.

    Now,I need to make the application to integrate with a third party device.The dlls provided with the device by the vendor are unsigned.

    Hence,when I refer those dlls in my application, my application fails in compile time.

    I tried so many ways , but yet to get through it.

    Please provide your suggestions.

    Thanks..

    Wednesday, January 31, 2007 1:20 PM

Answers

  • Hi,

    As the previous post says you shouldn't release it but at the end is the vendor's responsability. If you need to compile your project for commercial reasons you can alter the assembly.cs file, adding the following line:

    using System.Security;
    [assembly:AllowPartiallyTrustedCallers]

    This will allow you to sign your component with unsigned ones.

    Hope this helps

     

    Wednesday, January 31, 2007 3:49 PM

All replies

  • Contact the vendor and ask for signed assemblies.  Not signing assemblies when you distribute them is a big mistake, you shouldn't accept non-signed ones.
    Wednesday, January 31, 2007 2:46 PM
    Moderator
  • Hi,

    As the previous post says you shouldn't release it but at the end is the vendor's responsability. If you need to compile your project for commercial reasons you can alter the assembly.cs file, adding the following line:

    using System.Security;
    [assembly:AllowPartiallyTrustedCallers]

    This will allow you to sign your component with unsigned ones.

    Hope this helps

     

    Wednesday, January 31, 2007 3:49 PM