在Visual Studio 2010中,对于SharePoint开发增加了Replaceable Parameters,可以在设计的时候帮助我们替换到那些解决方案的输出,不过今天既然偶然看到了一个这个查看Public Key Token的简单方法,就放在这里备忘吧。

1. 打开External Tools

利用Visual Studio 2010 External Tools获取Assembly的公钥标记(Public Key Token)

 

2. 设置

利用Visual Studio 2010 External Tools获取Assembly的公钥标记(Public Key Token)

如上图所示:

Title: Get &PublicKeyToken

Command: C:\Prograsm Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe

Arguments: -Tp $(TargetPath)

Check the Use Output Window checkbox.

 

结果如下图所示:

利用Visual Studio 2010 External Tools获取Assembly的公钥标记(Public Key Token)

 

原始Blog来源:http://blogs.msdn.com/b/kaevans/archive/2008/06/18/getting-public-key-token-of-assembly-within-visual-studio.aspx

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2021-10-08
  • 2022-12-23
  • 2022-03-06
  • 2021-12-03
  • 2022-02-26
  • 2021-12-18
猜你喜欢
  • 2022-12-23
  • 2021-07-25
  • 2021-12-01
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2021-05-15
相关资源
相似解决方案