File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 23
23
<LangVersion >latest</LangVersion >
24
24
<Nullable >enable</Nullable >
25
25
<RootNamespace >UnitsNet</RootNamespace >
26
- <TargetFrameworks >netstandard2.0;net40</TargetFrameworks >
26
+ <TargetFrameworks >netstandard2.0;net40;net47 </TargetFrameworks >
27
27
</PropertyGroup >
28
28
29
29
<!-- SourceLink -->
41
41
<AssemblyName >UnitsNet</AssemblyName >
42
42
</PropertyGroup >
43
43
44
- <!-- NuGet references that work for both signed and unsigned -->
44
+ <!-- NuGet references that work for all TargetFrameworks, both signed and unsigned. -->
45
45
<ItemGroup >
46
46
<PackageReference Include =" JetBrains.Annotations" Version =" 2019.1.3" PrivateAssets =" All" />
47
47
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
48
+ </ItemGroup >
49
+
50
+ <!-- System.ValueTuple is only required for net40 target. -->
51
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net40'" >
48
52
<PackageReference Include =" System.ValueTuple" Version =" 4.5.0" />
49
53
</ItemGroup >
50
54
You can’t perform that action at this time.
0 commit comments