Skip to content

Commit a5955cd

Browse files
authored
Putting back netstandard targets (#113)
1 parent 6114856 commit a5955cd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
<!-- This is the default target framework for all the projects.
2828
Individual projects may specify additional target frameworks -->
2929
<NetfxVersion>net462</NetfxVersion>
30+
<NetStandardVersion>netstandard2.1</NetStandardVersion>
31+
<NetStandardVersion20>netstandard2.0</NetStandardVersion20>
3032
<NetCoreVersion>net8.0</NetCoreVersion>
3133

32-
<TargetFrameworks>$(NetfxVersion);$(NetCoreVersion)</TargetFrameworks>
34+
<TargetFrameworks>$(NetStandardVersion);$(NetfxVersion);$(NetCoreVersion);$(NetStandardVersion20)</TargetFrameworks>
3335
<PreviewRelease Condition="'$(PreviewRelease)' == ''">false</PreviewRelease>
3436
<VersionProductName>Microsoft SQL Script DOM</VersionProductName>
3537

Test/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
<TargetFrameworks>$(NetfxVersion);$(NetCoreVersion)</TargetFrameworks>
3232

3333
<!-- The TargetGroup can be used to express condition that are common to more than one TargetFramework (currently not used)-->
34-
<TargetGroup Condition="'$(TargetFramework)'=='net8.0'">netcore</TargetGroup>
35-
<TargetGroup Condition="'$(TargetGroup)'==''">netfx</TargetGroup>
34+
<TargetGroup Condition="'$(TargetFramework)'=='netstandard2.0' Or '$(TargetFramework)'=='netstandard2.1' Or '$(TargetFramework)'=='netstandard2.2'">netstandard</TargetGroup>
35+
<TargetGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' Or '$(TargetFramework)'=='net5.0' Or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net8.0'">netcore</TargetGroup>
3636

3737
<!-- Enable optimized NuGet restore -->
3838
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>

0 commit comments

Comments
 (0)