Skip to content

Commit 3e67b17

Browse files
committed
1 parent 8889e11 commit 3e67b17

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ dotnet restore
55

66
# Until # 65 is addressed build only core package. When available move to netstandard for all packages
77
for path in src/**/Serilog.Sinks.Splunk.csproj; do
8-
dotnet build -f netstandard2.1 -c Release ${path}
98
dotnet build -f netstandard2.0 -c Release ${path}
9+
dotnet build -f netstandard2.1 -c Release ${path}
1010
done
1111

1212
for path in test/*.Tests/*.csproj; do
13-
dotnet test -f netcoreapp2.1 -c Release ${path}
14-
dotnet test -f netcoreapp2.0 -c Release ${path}
13+
dotnet test -f net5.0 -c Release ${path}
1514
done
1615

1716
dotnet build -f net5.0 -c Release sample/Sample/Sample.csproj

test/Serilog.Sinks.Splunk.Tests/Serilog.Sinks.Splunk.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AssemblyName>Serilog.Sinks.Splunk.Tests</AssemblyName>
66
<PackageId>Serilog.Sinks.Splunk.Tests</PackageId>
77
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
@@ -19,6 +19,10 @@
1919
<PackageReference Include="xunit" Version="2.4.1" />
2020
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2121
<PackageReference Include="System.Net.Http" Version="4.3.4" />
22+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
23+
<PrivateAssets>all</PrivateAssets>
24+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
25+
</PackageReference>
2226
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
2327
</ItemGroup>
2428

0 commit comments

Comments
 (0)