-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
58 lines (50 loc) · 2.18 KB
/
Copy pathDirectory.Build.props
File metadata and controls
58 lines (50 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project>
<PropertyGroup>
<Company>Disposable Databases</Company>
<Authors>Joshua Raymond</Authors>
<Product>Disposable Databases</Product>
<CommonTags>Disposable;Temporary;Database;Integration Testing;Testing;Test;BDD;TDD;</CommonTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Copyright>Copyright (c) Joshua Raymond and Contributors. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/HipDragon/DisposableDatabases</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/HipDragon/DisposableDatabases/releases</PackageReleaseNotes>
<!--<PackageIcon>Icon.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/HipDragon/DisposableDatabases/main/build/nuget.png</PackageIconUrl>-->
</PropertyGroup>
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net462;net8.0</TargetFrameworks>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>All</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<!-- Add settings specific to .NET 7 or greater -->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == 'NET7_0_OR_GREATER'">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PolySharp">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>build; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Using Remove="System.IO" />
<Using Remove="System.Net.Http" />
</ItemGroup>
<Target Name="CleanOutputDirectories" AfterTargets="Clean">
<Message Text="Cleaning directories: $(OutputPath); and $(IntermediateOutputPath)" Importance="normal"/>
<RemoveDir Directories="$(OutputPath); $(IntermediateOutputPath)"/>
</Target>
</Project>