dotnet / dotnet/msbuild

t:/Pack produces dependencies for content only packages

Open
#3,044 1 comment 3 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Steps to reproduce

Pack this project file:

```


netstandard20
false




```

(You will need to create the foo.txt file in the project directory).

Directory contents:
```
/
- foo.txt
```

Command line
```
msbuild /t:pack
```
### Expected behavior

Nuget package does not have any dependencies.

### Actual behavior
The nuspec file in the produced nuget package expresses the following dependency:
```



```

### Environment data
`msbuild /version` output: 15.5.180.51428

OS info: windows 10

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.