-
-
Notifications
You must be signed in to change notification settings - Fork 235
Expand file tree
/
Copy pathSentry.Samples.Console.Basic.csproj
More file actions
63 lines (54 loc) · 2.31 KB
/
Copy pathSentry.Samples.Console.Basic.csproj
File metadata and controls
63 lines (54 loc) · 2.31 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TargetFrameworks>net9.0;net10.0;net462</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net462'))">
<PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
<PropertyGroup>
<!--
Note, these options do nothing if you are not authenticated.
See https://docs.sentry.io/platforms/dotnet/configuration/msbuild/#authentication
-->
<!--
<SentryUrl>...your Sentry URL if self-hosted, or omit this line if using sentry.io...</SentryUrl>
-->
<SentryOrg>sentry-sdks</SentryOrg>
<SentryProject>sentry-dotnet</SentryProject>
<!--
After the above properties are configured, you can use the following features.
Uploading symbols to Sentry will enable server-side symbolication (i.e. when the PDB is not present at runtime, or for AOT published programs).
Uploading sources to Sentry during the build will enable Source Context in the Sentry issue details page.
-->
<SentryUploadSymbols>true</SentryUploadSymbols>
<SentryUploadSources>true</SentryUploadSources>
<!--
You can automatically create releases via sentry-cli and control their creation via these properties
See https://docs.sentry.io/cli/releases/#creating-releases
-->
<SentryCreateRelease>true</SentryCreateRelease>
<!--
To associate commits with releases
See https://docs.sentry.io/cli/releases/#commit-integration
-->
<SentrySetCommits>true</SentrySetCommits>
<SentrySetCommitOptions>--local</SentrySetCommitOptions>
<!--
To associate commits with releases
See https://docs.sentry.io/cli/releases/#commit-integration
-->
<!-- <SentrySetCommits>true</SentrySetCommits>-->
<!-- <SentrySetCommitOptions>--local</SentrySetCommitOptions>-->
</PropertyGroup>
<!-- In your own project, this would be a PackageReference to the latest version of Sentry. -->
<ItemGroup>
<ProjectReference Include="..\..\src\Sentry\Sentry.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>
</Project>