-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
76 lines (69 loc) · 3.77 KB
/
Directory.Build.props
File metadata and controls
76 lines (69 loc) · 3.77 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!--
This file allow for customizing your build process.
See: https://learn.microsoft.com/visualstudio/msbuild/customize-your-build
-->
<Project>
<!--
Uncomment if you need to enable inclusion of another Directory.Build.props file from a parent directory
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
-->
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>13.0</LangVersion>
<!--
If you you like to see source generated files saved to disk you can enable the following:
https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview
-->
<!--<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>-->
</PropertyGroup>
<!--
This allows all projects to share the same user secrets file.
If you want project to have their own, set it to a different GUID on each project.
See: https://learn.microsoft.com/dotnet/architecture/microservices/secure-net-microservices-web-applications/developer-app-secrets-storage
-->
<PropertyGroup Label="User Secrets">
<UserSecretsId>89029a9c-0ab2-4d53-a3ac-7ea97466bb36</UserSecretsId>
</PropertyGroup>
<!-- Many of these properties can be found here: https://learn.microsoft.com/nuget/create-packages/package-authoring-best-practices#package-metadata -->
<PropertyGroup Label="NuGet Details">
<Title>TrxLib</Title>
<Authors>Benjamin Michaelis</Authors>
<Description>A .NET library for parsing and analyzing TRX (Test Results XML) files.</Description>
<Copyright>Copyright © 2025-$([System.DateTime]::Now.ToString("yyyy"))</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!-- The recommended size for the icon is 128x128: https://learn.microsoft.com/nuget/reference/msbuild-targets#packing-an-icon-image-file -->
<!--<PackageIcon>NuGetIcon.png</PackageIcon>-->
<RepositoryUrl>https://github.com/BenjaminMichaelis/TrxLib</RepositoryUrl>
<!-- If you project has a website set that value here; optionally this can also point to the repo -->
<PackageProjectUrl>https://github.com/BenjaminMichaelis/TrxLib</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<PropertyGroup Label="SourceLink">
<!--
You will also need to ensure that the appropriate Microsoft.SourceLink.* package is referenced.
https://github.com/dotnet/sourcelink
-->
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!--
To produce a deterministic build, you will want to enable ContinuousIntegrationBuild as part of the pipeline build, but not for local development.
https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#continuousintegrationbuild
https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#continuousintegrationbuild.
The condition enables this property automatically when using Github Actions for the build, but can be removed if unused.
This can be enabled on the command line by including the following as part of the build.
dotnet build -p:ContinuousIntegrationBuild=true
If you want to use Azure Devops, change the `GITHUB_ACTIONS` to `TF_BUILD` in the Condition.
-->
<!-- <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup> ->-->
<!--
These are optional, though typically recommended. See the docs for more details
https://github.com/dotnet/sourcelink
-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>
</Project>