Browse Source
Only add `Nullable` package for `NETStandard`.
pull/17608/head
maliming
3 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
5 additions and
3 deletions
-
framework/src/Volo.Abp.Core/Volo.Abp.Core.csproj
|
|
|
@ -33,12 +33,14 @@ |
|
|
|
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" /> |
|
|
|
<PackageReference Include="Nito.AsyncEx.Coordination" Version="5.1.2" /> |
|
|
|
<PackageReference Include="Nito.AsyncEx.Context" Version="5.1.2" /> |
|
|
|
</ItemGroup> |
|
|
|
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' And $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '2.1')) "> |
|
|
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" /> |
|
|
|
</ItemGroup> |
|
|
|
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' And $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '2.0')) "> |
|
|
|
<PackageReference Include="Nullable" Version="1.3.1"> |
|
|
|
<PrivateAssets>all</PrivateAssets> |
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
|
|
|
</PackageReference> |
|
|
|
</ItemGroup> |
|
|
|
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' And $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '2.1')) "> |
|
|
|
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" /> |
|
|
|
</ItemGroup> |
|
|
|
</Project> |
|
|
|
|