How to deploy folder which is not included while publishing to Azure

烈酒焚心 提交于 2019-12-13 03:29:43

问题


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.

Folder structure: MVC Application

-- bin

--Plugins

  -- Plugin1

      -- dlls

  -- Plugin2

       --dlls

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.

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


回答1:


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.



来源:https://stackoverflow.com/questions/45998735/how-to-deploy-folder-which-is-not-included-while-publishing-to-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!