Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
job:
- os: windows-2019
- os: windows-2022
build: ./build.cmd
push: true
name: ${{ matrix.job.os }}
Expand All @@ -35,11 +35,15 @@ jobs:
- name: Setup netcoreapp3.1
uses: actions/[email protected]
with:
dotnet-version: "3.1.413"
dotnet-version: "3.1.425"
- name: Setup net5.0
uses: actions/[email protected]
with:
dotnet-version: "5.0.401"
dotnet-version: "5.0.408"
- name: Setup net6.0
uses: actions/[email protected]
with:
dotnet-version: "6.0.403"
- name: Run dotnet --info
run: dotnet --info
- uses: actions/[email protected]
Expand Down
6 changes: 5 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<Project>

<PropertyGroup>
<LangVersion>latest</LangVersion>
<LangVersion>9.0</LangVersion>
<NoWarn>$(NoWarn);NU5048;CS8032</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<TreatSpecificWarningsAsErrors />
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": false,
"version": "5.0.100",
"version": "6.0.100",
"rollForward": "latestFeature"
}
}
3 changes: 1 addition & 2 deletions sample/ConsoleDemo/ConsoleDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net5.0;netcoreapp3.1;net45</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;net45</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Serilog.Sinks.Notepad/Serilog.Sinks.Notepad.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5.0;netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netstandard2.0;net45</TargetFrameworks>
<RootNamespace>Serilog</RootNamespace>

<AssemblyName>Serilog.Sinks.Notepad</AssemblyName>
Expand All @@ -18,7 +18,7 @@

<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PublicSign>true</PublicSign>

<NoWarn>$(NoWarn);NU5048</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down Expand Up @@ -64,7 +64,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Serilog" Version="2.8.0" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<AssemblyName>Serilog.Sinks.Notepad.Tests</AssemblyName>
<IsPackable>false</IsPackable>
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PublicSign>true</PublicSign>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<TreatSpecificWarningsAsErrors />
<RootNamespace>Serilog</RootNamespace>
Expand Down