如何部署发布到Azure时不包含的文件夹 [英] How to deploy folder which is not included while publishing to Azure

查看:64
本文介绍了如何部署发布到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时不包含的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆