Skip to content

Commit 4d4e562

Browse files
feat: Add target for Framework 4.8 and 4.6.2
This is to cater for the original purpose of this project, namely PowerAutomateMockUp and PAMU_CDS
1 parent d389141 commit 4d4e562

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

ExpressionEngine/ExpressionEngine.csproj

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net48;net462</TargetFrameworks>
55

66
<PackageId>Delegate.ExpressionEngine</PackageId>
77
<Authors>Delegate A/S,thygesteffensen</Authors>
88
<PackageDescription>Expression Engine for Power Automate expressions written in C# using Sprache.net!</PackageDescription>
99
<RepositoryUrl>https://github.com/delegateas/ExpressionEngine</RepositoryUrl>
1010

11+
<LangVersion>8</LangVersion>
12+
1113
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1214
</PropertyGroup>
1315

16+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
17+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
18+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
19+
<PackageReference Include="Sprache" Version="2.3.1" />
20+
</ItemGroup>
21+
22+
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
23+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
24+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
25+
<PackageReference Include="Sprache" Version="2.3.1" />
26+
</ItemGroup>
27+
1428
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
1529
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.31" />
1630
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

Test/Test.csproj

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0;net48;net462</TargetFrameworks>
55

6+
<LangVersion>8</LangVersion>
67
<IsPackable>false</IsPackable>
78
</PropertyGroup>
89

10+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
11+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
13+
<PackageReference Include="NUnit" Version="3.13.3" />
14+
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
15+
<PackageReference Include="coverlet.collector" Version="3.2.0">
16+
<PrivateAssets>all</PrivateAssets>
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
</PackageReference>
19+
</ItemGroup>
20+
21+
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
22+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
23+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
24+
<PackageReference Include="NUnit" Version="3.13.3" />
25+
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
26+
<PackageReference Include="coverlet.collector" Version="3.2.0">
27+
<PrivateAssets>all</PrivateAssets>
28+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
29+
</PackageReference>
30+
</ItemGroup>
31+
32+
933
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
1034
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.31" />
1135
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />

0 commit comments

Comments
 (0)