dotnet / dotnet/msbuild

BuiltProjectOutputGroup target is missing dependency on target that sets AppConfig property

Open
#5,433 1 comment 0 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

As a result `BuiltProjectOutputGroup` may not include the generated .config file, depending on the order in which targets are executed.

`BuiltProjectOutputGroup` target includes the .config file by reading `AppConfig` property:

```xml
<_BuiltProjectOutputGroupOutputIntermediate Include="$(AppConfig)" Condition="'$(AddAppConfigToBuildOutputs)'=='true'">
```

this property is set in `GenerateBindingRedirectsUpdateAppConfig` but `BuiltProjectOutputGroup` does not depend on this target.

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.