Post build event is run an extra time with empty values when multi-targeting
Open
Area: Documentation
Priority:2
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
### Issue Description
I've added a post build event to my csproj to sign DLLs (getting this to run in the Azure DevOps pipeline was hell -- took a day.)
```
```
The `Condition` is required beause the target is run for ever `
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the attached ConsoleAppPostBuildEvent.zip and its csproj, using TargetFrameworks with the AzureSignTool post-build target. Trace the multi-target build to find why the target runs with empty values; done means it runs once per framework and not for an additional empty target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100