Skip to content

Commit 53caec2

Browse files
authored
Merge pull request #106 from AArnott/PrivateValidation
Keep Validation dependency away from compile references
2 parents 2b55e2e + 5147af6 commit 53caec2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ImmutableObjectGraph.Generation.Attributes/ImmutableObjectGraph.Generation.Attributes.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010
<ItemGroup>
11-
<PackageReference Include="Validation" />
11+
<PackageReference Include="Validation" PrivateAssets="compile" />
1212
<PackageReference Include="System.Collections.Immutable" />
1313
<PackageReference Include="CodeGeneration.Roslyn.Attributes" />
1414
</ItemGroup>

src/ImmutableObjectGraph/ImmutableObjectGraph.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFrameworks>netstandard1.0</TargetFrameworks>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Validation" />
6+
<PackageReference Include="Validation" PrivateAssets="compile" />
77
<PackageReference Include="CodeGeneration.Roslyn.Attributes" />
88
<PackageReference Include="System.Collections.Immutable" />
99
<PackageReference Include="System.Diagnostics.Contracts" />

0 commit comments

Comments
 (0)