-
-
Notifications
You must be signed in to change notification settings - Fork 212
/
Directory.Build.props
35 lines (28 loc) · 1.44 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
<Project>
<Import Project="..\Directory.Build.props" />
<PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>
<!--
This sets the default DSN for all sample projects. Sentry employees and contractors
can view events at https://sentry-sdks.sentry.io/projects/sentry-dotnet.
The DSN can easily be overwritten in the sample application by the end-user.
The order of precedence is:
- SentryOptions.Dsn property set in code
- Sentry:Dsn set in appsettings.json or other config (where applicable)
- SENTRY_DSN environment variable
- This [Sentry.Dsn] attribute
Thus, this DSN is applied only if no other mechanism is used to set the DSN.
Note - The below works because SentryAttributes is already being converted to
actual attributes in src/Sentry/buildTransitive/Sentry.targets.
-->
<ItemGroup>
<SentryAttributes Include="Sentry.DsnAttribute">
<_Parameter1>https://[email protected]/5428537</_Parameter1>
</SentryAttributes>
</ItemGroup>
<!-- Workaround for hang on compile issue. See https://github.com/xamarin/xamarin-macios/issues/17825#issuecomment-1478568270. -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(TargetFramework)' == 'net7.0-ios' And '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64'">
<MtouchUseLlvm>false</MtouchUseLlvm>
</PropertyGroup>
</Project>