Skip to content

Commit a5e09aa

Browse files
authored
Add conditional package reference
Signed-off-by: Lamparter <[email protected]>
1 parent 081c4b6 commit a5e09aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/Riverside.JsonBinder.Console/Riverside.JsonBinder.Console.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<ProjectReference Include="..\Riverside.JsonBinder\Riverside.JsonBinder.csproj" />
18+
<ProjectReference Condition="'$(Configuration)' == 'Debug'" Include="..\Riverside.JsonBinder\Riverside.JsonBinder.csproj" />
19+
<PackageReference Condition="'$(Configuration)' == 'Release'" Include="Riverside.JsonBinder" Version="$(DisplayVersion)" />
1920
</ItemGroup>
2021

2122
</Project>

0 commit comments

Comments
 (0)