Where do you download signcode.exe and other tools

后端 未结 5 2002
隐瞒了意图╮
隐瞒了意图╮ 2021-02-13 17:29

If you decide to sign your code, you\'ll need:

  • signcode.exe
  • makecert.exe
  • cert2spc.exe
  • pvk2pfx.exe

What\'s the best place

5条回答
  •  天涯浪人
    2021-02-13 18:20

    Start with the Windows SDK. That should have most of what you are looking for.

    Also, SignCode.exe has been deprecated after .NET 1.1. SignTool.exe is the replacement.


    Without downloading the SDK?

    In general, there are only a few SDK tools that are redistributable outside of the official package from Microsoft. They are listed in a redist.txt file. On my system, I found a .NET SDK redist.txt file in %ProgramFiles%\Microsoft.NET\SDK\v2.0 64bit (I assume the folder is called "v2.0" on x86 systems). Here's what it said:

    .NET Framework SDK files
    
    Subject to the license terms for the software,
    the following .EXE files may be distributed unmodified:
    
    MageUI.exe
    Mage.exe
    Makecert.exe
    

    So it looks like the majority of those files will not be redistributable. So again, my answer is download the Windows SDK. Keep in mind you can install just a subset of the tools if you wish; the installer allows you to select/unselect any of the components (for example, just the .NET development tools).

提交回复
热议问题