- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在编写一个供内部使用的 Visual Studio 2012 扩展,这要求所有程序集都具有强名称。我依赖于 RestSharp(以及其他一些 dll),并且由于它没有强名称,因此我通过以下 this 为其添加强名称。 。一切都根据进程的输出进行,如果我查看项目引用中 RestSharp.dll 的属性,甚至 Visual Studio 也声称它是强命名的。然而,当我使用我的扩展时,我收到一个 FileLoadException 声明:
Could not load file or assembly 'RestSharp, Version=104.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
关于如何解决这个问题或解决这个问题有什么想法吗?
最佳答案
我编写了一个 NuGet 解决方案级别包,以帮助使用您自己的 key 对第 3 方程序集进行强命名。
This is targeted for signing the contents of NuGet packages that are using unsigned assemblies, in order to be able to link to these packages where the consuming project is strongly named. Access to the original source code is not required, and you may sign any assembly with your own strong naming key. You may also delay-sign if desired.
您可以在我的博客上阅读更多相关信息:
http://www.nivot.org/blog/post/2013/04/30/Signing-unsigned-assemblies-in-NuGet-packages
关于.net - 强烈命名第 3 方程序集 - 无法加载文件或程序集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13943091/
我想在网站上模拟负载,(网站是用 php 编写的)。例如,我想在同一页面(例如 index.php)上同时模拟 10 000 个请求,搜索后我找到了“jmeter”(但我仍然没有测试它)。其他,您可以
我是一名优秀的程序员,十分优秀!