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

前端 未结 8 841
独厮守ぢ
独厮守ぢ 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条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 17:10

    With Wix I would do something like this:

    
    
        
            
        
    
    
    

    When you use the attribute Assembly=".net" for a file in WiX, it will create entries in the MsiAssembly and MsiAssemblyName table for this component and mark it as a GAC component.

提交回复
热议问题