-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
55 lines (47 loc) · 2.35 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
<Project>
<PropertyGroup>
<Product>SceneGate</Product>
<Authors>scenegate</Authors>
<Company>None</Company>
<Copyright>Copyright (C) 2021 SceneGate</Copyright>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- By default no project generates libs (pack nuget). Enable it per project.
This allow to pack at the solution level so the platform info is kept. -->
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://scenegate.github.io/Ekona/</PackageProjectUrl>
<RepositoryUrl>https://github.com/SceneGate/Ekona</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>reverse-engineering;scenegate;nds</PackageTags>
</PropertyGroup>
<!-- Deterministic and source link -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<!-- Publish the repository URL in the nuget metadata for SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Embed auto-generated code for SourceLink -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- For SourceLink and debugging support we don't publish a symbol NuGet
as some NuGet feeds like Azure DevOps does not provide a symbol server.
Instead we embed the metadata (PDB) inside the DLLs and EXEs.
We use this approach instead of providing the .pdb inside the NuGet
as the latter has known issues with Visual Studio:
https://github.com/dotnet/sourcelink/issues/628 -->
<DebugType>embedded</DebugType>
<!-- Enable deterministic builds -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Code analyzers -->
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" PrivateAssets="All"/>
</ItemGroup>
</Project>