.NET: Should executables be strong-name signed? What about private DLLs?

前端 未结 4 1388
臣服心动
臣服心动 2021-02-02 08:53

My application consists of three assemblies: a single EXE which references a couple of DLLs. The DLLs are private to my application - they are used only by this executable.

4条回答
  •  囚心锁ツ
    2021-02-02 09:33

    If you sign an assembly, any referenced assemblies are publicly exposed they must be signed too. Otherwise you will get a compile error for good reason.

    I think the primary use for strong naming an assembly is to get it into the GAC.

    I don't see a need to strong name an exe.

    just my 2 pesos....

提交回复
热议问题