Skip to content

Commit 842e77a

Browse files
Remove old TODO
Fixes #65439
1 parent 2fe4cd1 commit 842e77a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/VisualStudio/Core/Impl/ProjectSystem/CPS/CPSProjectFactory.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,8 @@ public async Task<IWorkspaceProjectContext> CreateProjectContextAsync(Guid id, s
153153
var values = data.GetItemValues(itemName);
154154
if (values.Length != 1)
155155
{
156-
// TODO: Throw once we update integration tests to the latest VS (https://github.com/dotnet/roslyn/issues/65439)
157-
// var joinedValues = string.Join(";", values);
158-
// throw new InvalidProjectDataException(itemName, joinedValues, $"Item group '{itemName}' is required to specify a single value: '{joinedValues}'.");
159-
return null;
156+
var joinedValues = string.Join(";", values);
157+
throw new InvalidProjectDataException(itemName, joinedValues, $"Item group '{itemName}' is required to specify a single value: '{joinedValues}'.");
160158
}
161159

162160
var path = values[0];

0 commit comments

Comments
 (0)