diff --git a/CHANGELOG.md b/CHANGELOG.md index 10df8d8f35..8c0a9a863c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,13 @@ ### Significant change in behavior -- Added `Sentry` namespace to global usings when `ImplicitUsings is enabled ([#3043](https://github.com/getsentry/sentry-dotnet/pull/3043)) - - To opt-out, use `false` to your project. +- Added `Sentry` namespace to global usings when `ImplicitUsings` is enabled ([#3043](https://github.com/getsentry/sentry-dotnet/pull/3043)) +If you have conflicts, you can opt-out by adding the following to your `csproj`: +``` + + + +``` ## 4.0.0-beta.8 diff --git a/samples/Sentry.Samples.Console.Basic/Program.cs b/samples/Sentry.Samples.Console.Basic/Program.cs index 25bb697d3b..2b8e82478c 100644 --- a/samples/Sentry.Samples.Console.Basic/Program.cs +++ b/samples/Sentry.Samples.Console.Basic/Program.cs @@ -8,8 +8,6 @@ * For more advanced features of the SDK, see Sentry.Samples.Console.Customized. */ - - // Initialize the Sentry SDK. (It is not necessary to dispose it.) SentrySdk.Init(options => { diff --git a/samples/Sentry.Samples.Console.Native/Program.cs b/samples/Sentry.Samples.Console.Native/Program.cs index 0cc42af649..1814e0355a 100644 --- a/samples/Sentry.Samples.Console.Native/Program.cs +++ b/samples/Sentry.Samples.Console.Native/Program.cs @@ -2,8 +2,6 @@ * This sample demonstrates a native crash handling in a NativeAOT published application. */ - - // Initialize the Sentry SDK. (It is not necessary to dispose it.) SentrySdk.Init(options => { diff --git a/src/Sentry/Platforms/Cocoa/CocoaEventProcessor.cs b/src/Sentry/Platforms/Cocoa/CocoaEventProcessor.cs index 60e939f0bf..372ababd35 100644 --- a/src/Sentry/Platforms/Cocoa/CocoaEventProcessor.cs +++ b/src/Sentry/Platforms/Cocoa/CocoaEventProcessor.cs @@ -1,4 +1,5 @@ using Sentry.Extensibility; +using Sentry.Cocoa.Extensions; namespace Sentry.Cocoa; diff --git a/src/Sentry/Platforms/Cocoa/Facades/TransactionContextFacade.cs b/src/Sentry/Platforms/Cocoa/Facades/TransactionContextFacade.cs index 20f4478fce..94e91bb014 100644 --- a/src/Sentry/Platforms/Cocoa/Facades/TransactionContextFacade.cs +++ b/src/Sentry/Platforms/Cocoa/Facades/TransactionContextFacade.cs @@ -1,3 +1,5 @@ +using Sentry.Cocoa.Extensions; + namespace Sentry.Cocoa.Facades; internal class TransactionContextFacade : ITransactionContext diff --git a/src/Sentry/buildTransitive/Sentry.targets b/src/Sentry/buildTransitive/Sentry.targets index 2f4f90e1c8..07f613e6ba 100644 --- a/src/Sentry/buildTransitive/Sentry.targets +++ b/src/Sentry/buildTransitive/Sentry.targets @@ -2,7 +2,6 @@ -