CodeSmith:如何引用程序集
使用 Code smith,我尝试引用我生成的程序集作为输出。
这个想法是在构建步骤中创建程序集, 然后在稍后的构建步骤中引用该程序集,以便从程序集中的方法进一步生成和输出。
看来他们在这方面的帮助有点缺乏。它表示能够 GAC 您希望引用的程序集,然后在程序集指令中使用它。
但是在执行过程中,我不断收到错误 CODESMITH0001:无法解析程序集
关于我在哪里或如何考虑这个错误的任何想法?
谢谢
using code smith, i'm trying to reference an assembly that i'm generating as output.
the idea is to create the assembly in a build step,
then in a later build step reference this assembly for further generation and output from the methods in the assembly.
seems their help is a bit lacking in this area. it says something to the effect of being able to GAC the assembly you wish to reference and then use it in an Assembly directive.
however during the execute, i keep getting error CODESMITH0001: Unable to resolve assembly
any ideas as to where or how i may be thinking about this wrong?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这方面还缺少谁的帮助呢?我想处理并解决这个问题。您的汇编指令是什么样的?您是否对上一步中编译的程序集使用 Path="....\Common" 属性?
另请参阅此文档以获取更多信息:http://docs.codesmithtools.com/display/生成器/参考+组件
谢谢
——布莱克·尼米斯基
Whose help is a bit lacking in this area? I'd like to get this taken care of and resolved. What does your assembly directive look like? Are you using a Path="....\Common" attribute to the assembly you a compiling in the previous step?
Also please see this documentation for more information: http://docs.codesmithtools.com/display/Generator/Referencing+Assemblies
Thanks
-Blake Niemyjski