question

MattS-5933 avatar image
0 Votes"
MattS-5933 asked ·

Folders not getting deployed

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

alt text


azure-webapps
capture.jpg (55.6 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PreetiMahajan-3661 avatar image
0 Votes"
PreetiMahajan-3661 answered ·

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

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MattS-0455 avatar image
0 Votes"
MattS-0455 answered ·

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...

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MattS-0455, Thanks for the update and sharing the solution that worked for you with the community.

0 Votes 0 ·