找不到 sn.exe 来签署程序集

Cannot find sn.exe to sign Assembly(找不到 sn.exe 来签署程序集)
本文介绍了找不到 sn.exe 来签署程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我查看了 C:Program FilesMicrosoft.NET,但看不到任何 SN.exe 文件.

I looked into C:Program FilesMicrosoft.NET and I can't see any SN.exe file.

我安装了 .NET 3.5 运行时;这还不够吗?

I have .NET 3.5 runtime installed; isn't that enough ?

推荐答案

您需要安装 Windows SDK 6.0a,而不仅仅是运行时.

You need to install the Windows SDK 6.0a, not just the runtime.

如果你安装了VS2008,你会发现它已经安装好了,sn.exe会在这里:

If you've installed VS2008, you'll find it's already installed, and sn.exe will be here:

C:Program FilesMicrosoft SDKsWindowsv6.0ABinsn.exe

C:Program FilesMicrosoft SDKsWindowsv6.0ABinsn.exe

否则,如果你没有安装VS2008,你可以单独下载SDK 这里.

Otherwise, if you don't have VS2008 installed, you can download the SDK individually here.

SDK 中没有 sn.exe 文件.SDK的当前版本是6.1,也许他们在这个版本中删除了sn.exe.

The file sn.exe is not available in the SDK. The current version of the SDK is 6.1, perhaps they removed sn.exe in this release.

这篇关于找不到 sn.exe 来签署程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

MSBuild cannot find a reference(MSBuild 找不到参考)
The reference assemblies for framework .NETCore, Version=v5.0 were not found(未找到框架 .NETCore,Version=v5.0 的参考程序集)
quot;File has a different computed hash than specified in manifestquot; error when signing the EXE(“文件的计算哈希值与清单中指定的不同签署EXE时出错)
Good-practices: How to reuse .csproj and .sln files to create your MSBuild script for CI?(良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 MSBuild 脚本?)
Run an MSBuild target only if project is actually built(仅在实际构建项目时运行 MSBuild 目标)
MS-Build BeforeBuild not firing(MS-Build BeforeBuild 未触发)