Skip to content

Commit 2f841c3

Browse files
author
ChristianHaase
committed
refactor: correctly setup directory.*.props files [skip ci]
1 parent 01c7061 commit 2f841c3

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

ByteGuard.FileValidator.slnx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<Solution>
2-
<Folder Name="/Docs/">
2+
<Folder Name="/assets/">
3+
<File Path="Build.ps1" />
4+
<File Path="Directory.Build.props" />
5+
<File Path="Directory.Version.props" />
6+
<File Path="LICENSE" />
37
<File Path="README.md" />
48
</Folder>
5-
<Folder Name="/Tests/">
9+
<Folder Name="/tests/">
610
<Project Path="tests/ByteGuard.FileValidator.Tests.Unit/ByteGuard.FileValidator.Tests.Unit.csproj" />
711
</Folder>
812
<Project Path="src/ByteGuard.FileValidator/ByteGuard.FileValidator.csproj" />

Directory.Build.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<Import Project="Directory.Version.props" />
3+
<PropertyGroup>
4+
<LangVersion>latest</LangVersion>
5+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
6+
<CheckEolTargetFramework>false</CheckEolTargetFramework>
7+
<Nullable>enable</Nullable>
8+
<ImplicitUsings>enable</ImplicitUsings>
9+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
11+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
12+
<IncludeSymbols>true</IncludeSymbols>
13+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
14+
</PropertyGroup>
15+
</Project>

0 commit comments

Comments
 (0)