-
-
Notifications
You must be signed in to change notification settings - Fork 226
Open
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Description
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
- Have Sentry version 6.0.0 included in .NET 9 application
- Call
options.AddProfilingIntegration();in Sentry initialization - Bundle the application into
mcr.microsoft.com/dotnet/aspnet:9.0container
Expected Result
Application should start
Actual Result
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.
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Projects
Status
No status