Skip to content

Commit

Permalink
Bug-fix: metadata names in unused item groups are always named "Ident…
Browse files Browse the repository at this point in the history
…ity".
  • Loading branch information
tintoy committed Oct 9, 2017
1 parent cdf68b9 commit 186f985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Bug-fix: completions for item metadata expressions being offered when only completions for item group expressions should be offered.
* Bug-fix: `NullReferenceException` when listing completions for item group expressions.
* Bug-fix: restore missing hover tooltip for SDK-style project import.
* Bug-fix: metadata names in unused item groups are always named "Identity".

## v0.2.11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public MarkedStringContainer UnusedItemGroupMetadata(MSBuildUnusedItemGroup item
if (metadataName == "Condition")
return Condition(itemGroup.Name, itemGroup.FirstItem.Xml.Condition);

if (metadataName != "Include")
if (metadataName == "Include")
metadataName = "Identity";

List<MarkedString> content = new List<MarkedString>
Expand Down

0 comments on commit 186f985

Please sign in to comment.