如何部署发布到Azure时不包含的文件夹

编程入门 行业动态 更新时间:2024-10-21 03:59:40
本文介绍了如何部署发布到Azure时不包含的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们正在遵循插件架构,因此我们还有其他可以插入到主Web应用程序中的项目.现在,我们正在使用installshield将其他项目中的dll部署到主Web应用程序中.

we are following plugin architecture, so we are having other projects which can plugin into the main web application.Right now we are using installshield to deploy our dlls from other projects into the main web application.

文件夹结构: MVC应用程序

Folder structure: MVC Application

-bin

-插件

-- Plugin1 -- dlls -- Plugin2 --dlls

当我将应用程序发布到Azure App服务时,主Web应用程序中存在的dll仅被复制.如何移动插件文件夹中存在的dll.

When I published my application to Azure App service.The dlls present in the main web application only got copied.How can I move the dlls present in my plugins folder.

我们是否需要在发布配置文件中添加任何设置以包括这些发布dll? 请让我知道如何包含plugins文件夹

Do we need to add any settings in publish profile to include these publish dlls? Please let me know how can i include the plugins folder

推荐答案

如果这些文件存在于项目中,只需确保将build操作设置为Content即可部署它们.请注意,这是标准的msdeploy行为,并非专门针对Azure.

If those files exist in project, just make sure you set the build action to Content and they will get deployed. Note that this is standard msdeploy behavior, and not specifically about Azure.

更多推荐

如何部署发布到Azure时不包含的文件夹

本文发布于:2023-11-07 11:04:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566279.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   不包含   Azure

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!