Application fails to start with following exception (which Sentry does correctly capture):
System.Reflection.ReflectionTypeLoadException
Unable to load one or more of the requested types.
Could not load file or assembly 'Dia2Lib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Could not load file or assembly 'TraceReloggerLib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Package
Sentry.AspNetCore
.NET Flavor
.NET Core
.NET Version
9.0.11
OS
Linux
OS Version
Debian 12 container
Development Environment
Visual Studio Code (Linux)
SDK Version
6.0.0
Self-Hosted Sentry Version
No response
Workload Versions
Returns none
UseSentry or SentrySdk.Init call
SentrySdk.Init call
Steps to Reproduce
options.AddProfilingIntegration();in Sentry initializationmcr.microsoft.com/dotnet/aspnet:9.0containerExpected Result
Application should start
Actual Result
Application fails to start with following exception (which Sentry does correctly capture):