-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
60 lines (47 loc) · 2.14 KB
/
Directory.Build.props
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
59
60
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591;NU1505</NoWarn>
</PropertyGroup>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<NeutralLanguage>en-US</NeutralLanguage>
<Authors>Peter Nylander</Authors>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Copyright>Copyright © 2025 Peter Nylander </Copyright>
</PropertyGroup>
<PropertyGroup>
<ContainerRuntimeIdentifier>linux-x64</ContainerRuntimeIdentifier>
<EnableSdkContainerSupport>false</EnableSdkContainerSupport>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts</PackageOutputPath>
<IsPackable Condition="$(ProjectName.Contains('Sample'))">false</IsPackable>
<IsPackable Condition="$(ProjectName.Contains('Test'))">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<None Condition=" '$(MSBuildProjectDirectory)' != '' AND $(MSBuildProjectDirectory.IndexOf('sample')) == -1 AND $(MSBuildProjectDirectory.IndexOf('tests')) == -1 " Include="..\..\LICENSE" Pack="true" PackagePath="" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Label="Enable SourceLink Support">
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageProjectUrl>https://github.com/penyland/infinity-tomahawk</PackageProjectUrl>
<RepositoryUrl>https://github.com/penyland/infinity-tomahawk</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>