Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the message when UsingTask Reference Include is empty #10937

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

GangWang01
Copy link
Member

Fixes #10343

Context

When the attribute Include of the element Reference in UsingTask is empty, the error message is a little repetitive and it doesn't point out the task name.

Changes Made

Re-phrase the error message with task name.

Testing

Modified existing tests.

Notes

@GangWang01 GangWang01 marked this pull request as ready for review November 6, 2024 08:20
@GangWang01 GangWang01 merged commit 1bb761c into dotnet:main Nov 11, 2024
10 checks passed
@GangWang01 GangWang01 deleted the improve-error-message branch November 11, 2024 09:13
@KirillOsenkov
Copy link
Member

Very nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better error when UsingTask Reference Include is empty
4 participants