File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
test/Serilog.Sinks.Splunk.Tests Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,12 @@ dotnet restore
5
5
6
6
# Until # 65 is addressed build only core package. When available move to netstandard for all packages
7
7
for path in src/** /Serilog.Sinks.Splunk.csproj; do
8
- dotnet build -f netstandard2.1 -c Release ${path}
9
8
dotnet build -f netstandard2.0 -c Release ${path}
9
+ dotnet build -f netstandard2.1 -c Release ${path}
10
10
done
11
11
12
12
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}
15
14
done
16
15
17
16
dotnet build -f net5.0 -c Release sample/Sample/Sample.csproj
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2.1;netstandard2. 0</TargetFrameworks >
4
+ <TargetFramework >net5. 0</TargetFramework >
5
5
<AssemblyName >Serilog.Sinks.Splunk.Tests</AssemblyName >
6
6
<PackageId >Serilog.Sinks.Splunk.Tests</PackageId >
7
7
<GenerateRuntimeConfigurationFiles >true</GenerateRuntimeConfigurationFiles >
19
19
<PackageReference Include =" xunit" Version =" 2.4.1" />
20
20
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
21
21
<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 >
22
26
<DotNetCliToolReference Include =" dotnet-xunit" Version =" 2.3.1" />
23
27
</ItemGroup >
24
28
You can’t perform that action at this time.
0 commit comments