Skip to content

Commit 97e9add

Browse files
committed
Explicitly
This partially undoes a change previously introduced in #2981776, which established `System.ComponentModel.Annotations` as a private dependency. That's incorrect. The `TopicMappingService` uses classes in the `Annotations` namespace for the `PropertyConfiguration` in order to validate `ValidationAttribute`s.
1 parent d6dcc1a commit 97e9add

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

OnTopic/OnTopic.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
<PrivateAssets>all</PrivateAssets>
4848
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
4949
</PackageReference>
50-
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0">
51-
<PrivateAssets>all</PrivateAssets>
52-
</PackageReference>
50+
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0" />
5351
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="15.5.31">
5452
<PrivateAssets>all</PrivateAssets>
5553
</PackageReference>

0 commit comments

Comments
 (0)