When is it necessary to sign a .NET assembly?

409 views Asked by At

Visual Studio offers the option of signing .NET assemblies with a .SNK key.

In what situations would it be necessary to sign an assembly?

What effect does signing an assembly have on warning messages about "Unknown Publisher"?

1

There are 1 answers

0
Mike On

When whoever is using your assembly needs to know it came from you and a third party didn't sneak in and replace your application with their own. I believe you also need to sign an assembly if you wish to add it to the GAC.