-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
80 lines (72 loc) · 4.1 KB
/
Directory.Build.props
File metadata and controls
80 lines (72 loc) · 4.1 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
77
78
79
80
<!--
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>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!--
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>3ca55e9d-0f1b-4081-a87d-138791e49f10</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>VS.TestPlaylistTools</Title>
<Authors>Benjamin Michaelis</Authors>
<Description>A .NET library for creating, parsing, and manipulating Visual Studio test playlist files. Supports advanced playlist building and integration with test runners.</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>-->
<PackageTags>visualstudio;playlist;test;vstest;unittest;dotnet;builder;parser</PackageTags>
<RepositoryUrl>https://github.com/BenjaminMichaelis/VS.TestPlaylistTools</RepositoryUrl>
<!-- If you project has a website set that value here; optionally this can also point to the repo -->
<PackageProjectUrl>https://github.com/BenjaminMichaelis/VS.TestPlaylistTools</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<!--
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>
<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>
<!--
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>