how to make strongly name for mydll.dll in visual studio 2010 ? RRS feed


  • It's very simple.

    1. Open project properties. You can do this by right clicking on your project in solution explorer and click properties.

    2. On left hand pane, select 'Signing Tab'

    3. Selct the option 'Sign the Assembly'. This will enable the ComboBox

    4. From combo box, select <New...>. This will open 'Create Strong Name Key' dialog

    5. Give a name to Strong Name file. You may also give user name & password if you wish. I you don't want to give user name & pwd,  unselct the option 'protect my keyfile with a password'

    6. Click Ok and That's it. Just build your application, and your DLL is signed.


    Please mark this post as answer if it solved your problem. Happy Programming!
    Sunday, September 18, 2011 10:21 AM
  • --Using the Assembly Linker (Al.exe) provided by the Windows SDK.

    --Using assembly attributes to insert the strong name information in your code. You can use either the AssemblyKeyFileAttribute or theAssemblyKeyNameAttribute, depending on where the key file to be used is located.


    More information, you can refer to :

    How to: Sign an Assembly with a Strong Name

    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, September 20, 2011 7:45 AM

All replies