Skip to content

"content" folders are not published if they don't contain at least one file #5103

@guardrex

Description

@guardrex

If I specify a content folder in project.json that doesn't contain any files ...

"content": [ 
    "Views", 
    "wwwroot",
    "logs"
],

(logs in this case is an empty folder) ... the published output doesn't include the folder ...

capture1

If I put a file in the logs folder (test.txt in this case), it publishes the folder ...

capture2

I don't think it should work that way. If I specify an empty content folder (or a series of nested empty folders), then I should get folders in the published output that match what I'm requesting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions