What's the 'correct' way of registering/installing an Assembly to the GAC?

前端 未结 8 843
独厮守ぢ
独厮守ぢ 2020-12-01 16:23

There seems to be lots of different ways to register assemblies with the GAC, as in, they \'work\'. However, what\'s the \"proper\" way of doing it?

In response to

8条回答
  •  旧时难觅i
    2020-12-01 17:27

    http://blogs.msdn.com/astebner/archive/2006/11/04/why-to-not-use-gacutil-exe-in-an-application-setup.aspx

    It looks like the gacutil should be avoided; it's not a redistributable app. Instead, the 'proper' way of installing them seems to be using MSI, one way being WIX, as posted by CheGueVerra or another script.

提交回复
热议问题