-
-
Notifications
You must be signed in to change notification settings - Fork 203
/
Directory.Build.props
68 lines (56 loc) · 2.94 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
61
62
63
64
65
66
67
68
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<!--Generate xml docs for all projects under 'src'-->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Authors>Sentry Team and Contributors</Authors>
<Company>Sentry.io</Company>
<Product>Sentry</Product>
<PackageTags>Sentry;GetSentry;Error-Reporting;Crash-Reporting;Exception-Handling</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<RepositoryUrl>https://github.com/getsentry/sentry-dotnet</RepositoryUrl>
<PackageIcon>sentry-nuget.png</PackageIcon>
<PackageProjectUrl>https://sentry.io</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!--
SourceLink configuration
See https://github.com/dotnet/sourcelink/blob/main/README.md
And https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props
-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Nullable>annotations</Nullable>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodeAnalysis.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<!-- Only compile with IsAotCompatible on .NET 8.0 and later -->
<PropertyGroup Condition="$(TargetFramework.StartsWith('net8'))">
<!-- `FrameworkSupportsAot` is a custom property we use to centralise this logic for enabling `IsAotCompatible`. As
of very recently, this logic is fairly simple (net8.0 or later) but it's historically been more complex and very
volatile (as we learn more about the constraints of targeting AOT compilation). We may be able to remove this custom
property once we have confidence that this logic is unlikely to change again.
-->
<FrameworkSupportsAot>true</FrameworkSupportsAot>
</PropertyGroup>
<PropertyGroup>
<!-- Used by SIL.ReleaseTasks below -->
<ChangelogFile>$(MSBuildThisFileDirectory)..\CHANGELOG.md</ChangelogFile>
<AppendToReleaseNotesProperty>
<![CDATA[-->
See full changelog at https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md]]>
</AppendToReleaseNotesProperty>
<VersionRegex>^## (.+)</VersionRegex>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\.assets\sentry-nuget.png" Pack="true" PackagePath="" />
<None Include="$(MSBuildThisFileDirectory)..\README.md" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<!-- Used to pull the CHANGELOG.md into the NuGet package Release Notes section -->
<PackageReference Include="SIL.ReleaseTasks" Version="2.5.0" PrivateAssets="All" Condition="'$(Configuration)' != 'Debug'" />
</ItemGroup>
</Project>