Skip to content

Commit

Permalink
add explicit net6 target (#1703)
Browse files Browse the repository at this point in the history
* add explicit net6 target

* Update global.json

* Update BuildNativeUWP.ps1

* Update BuildNativeUWP.ps1

* remove uwp
  • Loading branch information
SimonCropp committed Jul 25, 2022
1 parent 81e9dee commit 45386bb
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 379 deletions.
19 changes: 0 additions & 19 deletions BuildNativeUWP.ps1

This file was deleted.

3 changes: 1 addition & 2 deletions appveyor.yml
@@ -1,13 +1,12 @@
version: '{build}'
skip_tags: true
image:
- Visual Studio 2019
- Visual Studio 2022
- Ubuntu
configuration: Release
test: off
build_script:
- ps: ./Build.ps1
- ps: ./BuildNativeUWP.ps1
for:
-
matrix:
Expand Down
2 changes: 1 addition & 1 deletion global.json
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "5.0.202",
"version": "6.0.300",
"allowPrerelease": false,
"rollForward": "latestFeature"
}
Expand Down
6 changes: 5 additions & 1 deletion src/Serilog/Serilog.csproj
Expand Up @@ -3,7 +3,7 @@
<Description>Simple .NET logging with fully-structured events</Description>
<VersionPrefix>2.11.1</VersionPrefix>
<Authors>Serilog Contributors</Authors>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.3;netstandard1.0;net45;net46;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.3;netstandard1.0;net45;net46;net5.0;net6.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>Serilog</AssemblyName>
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
Expand Down Expand Up @@ -45,6 +45,10 @@
<DefineConstants>$(DefineConstants);ASYNCLOCAL;HASHTABLE;FEATURE_DEFAULT_INTERFACE;FEATURE_SPAN</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<DefineConstants>$(DefineConstants);ASYNCLOCAL;HASHTABLE;FEATURE_DEFAULT_INTERFACE;FEATURE_SPAN</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
</ItemGroup>
Expand Down
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Serilog.PerformanceTests</AssemblyName>
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
5 changes: 4 additions & 1 deletion test/Serilog.Tests/Serilog.Tests.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;net452;net46</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1;netcoreapp2.1;net452;net46</TargetFrameworks>
<AssemblyOriginatorKeyFile>../../assets/Serilog.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
Expand Down Expand Up @@ -39,4 +39,7 @@
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
<DefineConstants>$(DefineConstants);ASYNCLOCAL;FEATURE_DEFAULT_INTERFACE;FEATURE_SPAN</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<DefineConstants>$(DefineConstants);ASYNCLOCAL;FEATURE_DEFAULT_INTERFACE;FEATURE_SPAN</DefineConstants>
</PropertyGroup>
</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed test/Serilog.UwpTests/Assets/StoreLogo.png
Binary file not shown.
Binary file not shown.
28 changes: 0 additions & 28 deletions test/Serilog.UwpTests/Package.appxmanifest

This file was deleted.

18 changes: 0 additions & 18 deletions test/Serilog.UwpTests/Properties/AssemblyInfo.cs

This file was deleted.

29 changes: 0 additions & 29 deletions test/Serilog.UwpTests/Properties/UnitTestApp.rd.xml

This file was deleted.

155 changes: 0 additions & 155 deletions test/Serilog.UwpTests/Serilog.UwpTests.csproj

This file was deleted.

Binary file not shown.
14 changes: 0 additions & 14 deletions test/Serilog.UwpTests/UnitTest.cs

This file was deleted.

8 changes: 0 additions & 8 deletions test/Serilog.UwpTests/UnitTestApp.xaml

This file was deleted.

0 comments on commit 45386bb

Please sign in to comment.