-
-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathSentry.TrimTest.csproj
49 lines (44 loc) · 2.8 KB
/
Sentry.TrimTest.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- See https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming#show-all-warnings-with-test-app -->
<PublishTrimmed>true</PublishTrimmed>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<TrimmerSingleWarn>true</TrimmerSingleWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Sentry\Sentry.csproj" />
<ProjectReference Include="..\..\src\Sentry.AspNetCore\Sentry.AspNetCore.csproj" />
<ProjectReference Include="..\..\src\Sentry.AspNetCore.Grpc\Sentry.AspNetCore.Grpc.csproj" />
<ProjectReference Include="..\..\src\Sentry.DiagnosticSource\Sentry.DiagnosticSource.csproj" />
<ProjectReference Include="..\..\src\Sentry.EntityFramework\Sentry.EntityFramework.csproj" />
<ProjectReference Include="..\..\src\Sentry.Extensions.Logging\Sentry.Extensions.Logging.csproj" />
<ProjectReference Include="..\..\src\Sentry.Google.Cloud.Functions\Sentry.Google.Cloud.Functions.csproj" />
<ProjectReference Include="..\..\src\Sentry.Maui\Sentry.Maui.csproj" />
<ProjectReference Include="..\..\src\Sentry.NLog\Sentry.NLog.csproj" />
<ProjectReference Include="..\..\src\Sentry.OpenTelemetry\Sentry.OpenTelemetry.csproj" />
<ProjectReference Include="..\..\src\Sentry.Serilog\Sentry.Serilog.csproj" />
<TrimmerRootAssembly Include="Sentry" />
<TrimmerRootAssembly Include="Sentry.AspNetCore" />
<TrimmerRootAssembly Include="Sentry.AspNetCore.Grpc" />
<TrimmerRootAssembly Include="Sentry.DiagnosticSource" />
<TrimmerRootAssembly Include="Sentry.EntityFramework" />
<TrimmerRootAssembly Include="Sentry.Extensions.Logging" />
<TrimmerRootAssembly Include="Sentry.Google.Cloud.Functions" />
<TrimmerRootAssembly Include="Sentry.Maui" />
<TrimmerRootAssembly Include="Sentry.NLog" />
<TrimmerRootAssembly Include="Sentry.OpenTelemetry" />
<TrimmerRootAssembly Include="Sentry.Serilog" />
</ItemGroup>
<ItemGroup>
<!-- The following packages are deliberately excluded from the TrimTest app because they do not support trimming -->
<!-- Sentry.AspNetCore.Blazor.WebAssembly: produces trim warnings... not yet sure how to resolve these -->
<!-- Sentry.Azure.Functions.Worker: `Microsoft.Azure.Functions.Worker` produces [trim warnings](https://github.com/Azure/azure-functions-dotnet-worker/issues/2899) -->
<!-- Sentry.Hangfire: Hangfire.Core produces trim warnings and relies on Newtonsoft.Json -->
<!-- Sentry.Log4Net: Legacy - produces trim warnings -->
<!-- Sentry.Profiling: FastSerialization and DynamicTraceEventParser produce trim warnings -->
</ItemGroup>
</Project>