dotnet / dotnet/msbuild

Feature request: Simple way to express an order-only dependency.

Open
#4,795 23 comments 7 reactions 0 assignees View on GitHub
backlog gathering-feedback Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Previously (net core 2.1), this worked:
````


false


````
Now, it doesn't, and even all this doesn't work:
````


false
Never
false
true
all


````

What's going on is I have a build tool in the solution, and `dotnet publish` is trying (incorrectly) to ship it. Almost minimized sample attached. If it were any smaller it wouldn't make any sense.
[depbuildtool.zip](https://github.com/microsoft/msbuild/files/3708497/depbuildtool.zip)

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.