我的 DLL 是强命名的,但 WSPBuilder 报告它们不是
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我遇到了同样的问题,但对我有用的是删除 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.
就我而言,当我对一个项目使用
仅延迟签名
选项时,我遇到了一些奇怪的错误(不记得确切的消息)。In my case, I was getting some strange errors (can't remember the exact message) when using
Delay sign only
option for one project.我已经找到了问题,但没有找到解决方案,看来我的项目实际上是一个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
我遇到了同样的问题,一个解决方案,多个项目,无法编译的一个是使用另一个项目中的对象。
我尝试过清理垃圾箱和垃圾箱。 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.