Skip to content

Commit 4b5c095

Browse files
committed
Support multiple targets
This should allow support across more systems at once
1 parent 5617341 commit 4b5c095

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>TurnerSoftware.BuildVersioning</RootNamespace>
5+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
56

67
<Company>Turner Software</Company>
78

src/TurnerSoftware.BuildVersioning.Tool/TurnerSoftware.BuildVersioning.Tool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<PropertyGroup>
1212
<OutputType>Exe</OutputType>
13-
<TargetFramework>net5.0</TargetFramework>
13+
<TargetFrameworks>$(TargetFrameworks)</TargetFrameworks>
1414
<BuildVersioningLogLevel>high</BuildVersioningLogLevel>
1515
<RootNamespace>TurnerSoftware.BuildVersioning.Tool</RootNamespace>
1616
<PackAsTool>true</PackAsTool>

src/TurnerSoftware.BuildVersioning/TurnerSoftware.BuildVersioning.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup>
12-
<TargetFramework>net5.0</TargetFramework>
12+
<TargetFrameworks>$(TargetFrameworks)</TargetFrameworks>
1313
<DevelopmentDependency>true</DevelopmentDependency>
1414
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
1515
<IncludeBuildOutput>false</IncludeBuildOutput>

0 commit comments

Comments
 (0)