dotnet / dotnet/msbuild

Allow copying empty directories with <Content>

Open
#1,586 14 comments 9 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

This issue has been inspired by dotnet/cli#2911. In short, if I specify something like this:

```xml


Always

```

MSBuild will throw an error saying that the `Copy` task does not support copying directories. I can put in a glob, but if there are no files, nothing gets copied out (with a glob the *why* of that behavior is clear to me at least).

/cc @moozzyk

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.