Folders not getting deployed

Matt S 1 Reputation point
2019-11-29T15:19:18.387+00:00

I have sub-folders in my project (WorkerService) that doesn't get published, any ideas?

alt text

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,933 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Preeti Mahajan 1 Reputation point
    2019-12-03T07:56:12.323+00:00

    Can you check if you have below property set in your project file.You can check that by opening the project in text editor by unloading the project from solution. If this property is set, then even the files with the build action set to content wont be published.

    Content\files

    0 comments No comments

  2. Matt S 1 Reputation point
    2019-12-03T08:20:31.6+00:00

    Hi,

    I finally managed to get this to work by editing the .csproj file. By making sure that I had "Content Include" on those files and Copy to output directory=Always it finally worked. It seems that the changes in the UI is not always reflected in .csproj file...


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.