What gacutil.exe should I use?

后端 未结 3 1538
广开言路
广开言路 2021-02-14 15:18

So, on a Win 2008 R2 Std x64, I have 6 (six) gacutil.exe all different (not counting ones in VS folders), in:

  1. c:\\Program Files\\Microsoft SDKs\\Windows\\v
3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-14 15:31

    Short version: If you have .NET 4.0 installed, use NETFX 4.0 Tools version. Otherwise it doesn't really matter.

    Answers to questions:

    1. No.
    2. Doesn't really matter unless there is no .NET 4.0 installed, in which case you should use NETFX 4.0 Tools version. Not sure if it is possible to have a v7.0 SDK and not have .NET 4.0 installed.
    3. No, you can always (and should) use NETFX 4.0 Tools version for all GAC operations.

提交回复
热议问题