我的 DLL 是强命名的,但 WSPBuilder 报告它们不是

发布于 2024-07-10 00:34:12 字数 169 浏览 6 评论 0原文

WSPBuilder

版本:0.9.8.0830 由卡斯滕·科伊特曼创建 GPL 许可证 2007

安装和部署 [MYDLL] 无法部署解决方案 内部异常(1):此解决方案包含一个或多个针对全局程序集缓存的程序集。 您应该为全局程序集缓存中的任何程序集使用强名称。

WSPBuilder

Version: 0.9.8.0830
Created by Carsten Keutmann
GPL License 2007

Install and deploying [MYDLL]
Unable to deploy solution
Inner exception(1): This solution contains one or more assemblies targeted for the global assembly cache. You should use a strong name for any assembly that will be in the global assembly cache.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

愁杀 2024-07-17 00:34:12

我遇到了同样的问题,但对我有用的是删除 bin 和 obj 文件夹中的所有文件,然后重建 WSP。

I had the same issues but what worked for me was to delete all the files in the bin and obj folder and then rebuild the WSP.

情话难免假 2024-07-17 00:34:12

就我而言,当我对一个项目使用仅延迟签名选项时,我遇到了一些奇怪的错误(不记得确切的消息)。

In my case, I was getting some strange errors (can't remember the exact message) when using Delay sign only option for one project.

以可爱出名 2024-07-17 00:34:12

我已经找到了问题,但没有找到解决方案,看来我的项目实际上是一个12个配置单元,还设置为输出一个类库,这个类库正在包含在WSP中。

所以...我需要确保 bin 文件夹确实被排除在构建过程之外。
我在程序文件中设置了值,但还没有反应...

现在要重新启动服务器...

稍后: 好的 - 修复方法是重新启动服务器,出于某种原因这有帮助

I have found the problem, but not the solution, it seems the project I have which is really a 12 hive, is also set to output a class library, this class library is getting included in the WSP.

So... I need to ensure the bin folder is really excluded from the build process.
I set the value in program files but no reaction yet...

Now going to restart the server...

Later: Ok - the fix is to restart the server, for some reason this helped

爱已欠费 2024-07-17 00:34:12

我遇到了同样的问题,一个解决方案,多个项目,无法编译的一个是使用另一个项目中的对象。

我尝试过清理垃圾箱和垃圾箱。 obj 文件夹,以及重新启动服务器。 我想我会使用 gacutil 将文件 dll 复制到 gac。

I'm experiencing the same issue, one solution, multiple projects, the one failing to compile is using an object from another project.

I've tried clearing the bin & obj folder, as well as restarting the server. I think I'll copy the files dll to the gac using gacutil instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文