Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I strongly name all assemblies?

So there are lots of questions around the benefits of strongly naming a .Net assembly, such as this one Why use strong named assemblies?

The benefits sound great, so why wouldn't I strongly name every project I make?

What are the advantages of NOT strongly naming an assembly, and which should I do by default when making new projects?

like image 888
userSteve Avatar asked Sep 11 '14 12:09

userSteve


1 Answers

Strongly naming an assembly takes time (sort of) and is not useful for a project that you don't plan to take to the market/open-source it. There are some implications when you do not strongly name your assembly, such as you cannot add it to the GAC.

A possible benefit is that you can reference other unsigned assemblies within your assembly, whereas in a strongly named assembly you can only reference other strongly named assemblies.

like image 124
Christo S. Christov Avatar answered Sep 28 '22 15:09

Christo S. Christov