包括带有 DotNetNuke 模块的程序集?
我正在使用模块开发的 非 IIS 方法 来开发 DotNetNuke 模块。有没有办法在您的模块中包含第 3 方 程序集(在设置它时)部署)?
我考虑过将其添加为整个 dotnetnuke_nonIIS 网站项目的引用,但考虑到它是模块的依赖项,这似乎并不正确。
I'm developing a DotNetNuke Module using the nonIIS method of module development. Is there any way to include a 3rd-party assembly in your module (when setting it up for deployment)?
I thought about adding it as a reference to the dotnetnuke_nonIIS website project as a whole, but that doesn't seem right considering it's a dependency of the module.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无论您的本地开发环境是什么样的,您很可能希望能够将模块单独部署到 DNN 站点。
为此,您可以创建一个可安装的模块 zip 包 - 其中包含所有模块资产和描述它们的清单文件,以便 DNN 可以在安装时处理它们并执行适当的操作(运行脚本、将程序集部署到 bin) 。
查看DNN wiki有关包装的更多信息。
Whatever your local development environment may look like, you will most likely want to be able to deploy the module to a DNN site on its own.
To do that, you can create an installable module zip package - which consists of all of your module assets and a manifest file describing them so that DNN may process them and perform the appropriate actions (run scripts, deploy assemblies to the bin) upon installation.
Check out the DNN wiki for more information about packaging.