Skip to content

Commit 615a5ce

Browse files
Add solution items and Directory.Build.props to simplify packaging
1 parent 4d64330 commit 615a5ce

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<PropertyGroup>
3+
<Version>1.1.0.0</Version>
4+
<Authors>Sander van Vliet, Huibert Jan Nieuwkamer, Scott Toberman</Authors>
5+
<Company>Codenizer BV</Company>
6+
<Copyright>2022 Sander van Vliet</Copyright>
7+
</PropertyGroup>
8+
</Project>

Serilog.Enrichers.Sensitive.sln

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29613.14
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.3.32825.248
55
MinimumVisualStudioVersion = 15.0.26124.0
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4F6C5943-A8FF-4625-97ED-5325B9CAF2E4}"
77
EndProject
@@ -15,6 +15,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Enrichers.Sensitive
1515
EndProject
1616
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Serilog.Enrichers.Sensitive.Tests.Benchmark", "test\Serilog.Enrichers.Sensitive.Tests.Benchmark\Serilog.Enrichers.Sensitive.Tests.Benchmark.csproj", "{1C6B2313-3EBB-482F-8A78-2BB7C6FCFA06}"
1717
EndProject
18+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F079FFF2-FE22-46F3-86E2-248A268D8AFD}"
19+
ProjectSection(SolutionItems) = preProject
20+
CHANGELOG = CHANGELOG
21+
Directory.Build.props = Directory.Build.props
22+
LICENSE = LICENSE
23+
README.md = README.md
24+
EndProjectSection
25+
EndProject
1826
Global
1927
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2028
Debug|Any CPU = Debug|Any CPU

src/Serilog.Enrichers.Sensitive/Serilog.Enrichers.Sensitive.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
<PropertyGroup>
1010
<IsPackable>true</IsPackable>
11-
<Version>1.0.0</Version>
11+
<Version Condition="'$(Version)' == ''">0.1.0.0</Version>
1212
<Title>Serilog enricher to mask sensitive data</Title>
1313
<Description>An enricher to be used for masking sensitive (PII) data using Serilog</Description>
14-
<Copyright>2021 Sander van Vliet</Copyright>
15-
<Authors>Sander van Vliet, Huibert Jan Nieuwkamer, Scott Toberman</Authors>
14+
<Copyright Condition="'$(Copyright)' == ''">2021 Sander van Vliet</Copyright>
15+
<Authors Condition="'$(Authors)' == ''">Sander van Vliet, Huibert Jan Nieuwkamer, Scott Toberman</Authors>
1616
<PackageProjectUrl>https://github.com/sandermvanvliet/Serilog.Enrichers.Sensitive/README.md</PackageProjectUrl>
1717
<PackageLicenseUrl>https://github.com/sandermvanvliet/Serilog.Enrichers.Sensitive/LICENSE</PackageLicenseUrl>
1818
<RepositoryUrl>https://github.com/sandermvanvliet/Serilog.Enrichers.Sensitive/</RepositoryUrl>

0 commit comments

Comments
 (0)