Skip to content

Commit 9c5bb3d

Browse files
committed
Sharp-Pulsar#97 Make dependencies conditional
1 parent 5d910eb commit 9c5bb3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SchemaGenerator/AvroSchemaGenerator.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<NeutralLanguage>en-US</NeutralLanguage>
1010
<PackageTags>Apache Avro, Avro Schema</PackageTags>
1111
<PackageIcon>avro-schema.png</PackageIcon>
12-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
12+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1313
<PackageIconUrl />
1414
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
1515
</PropertyGroup>
1616

17-
<ItemGroup>
17+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1818
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
1919
<PackageReference Include="System.Text.Json" Version="8.0.0" />
2020
</ItemGroup>
@@ -29,5 +29,5 @@
2929
<PackagePath></PackagePath>
3030
</None>
3131
</ItemGroup>
32-
32+
3333
</Project>

0 commit comments

Comments
 (0)