Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia committed Jan 12, 2024
1 parent aa31b5d commit 31073b1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<SentryImplicitUsings>false</SentryImplicitUsings>` 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`:
```
<ItemGroup>
<Using Remove="Sentry" />
</ItemGroup>
```

## 4.0.0-beta.8

Expand Down
2 changes: 0 additions & 2 deletions samples/Sentry.Samples.Console.Basic/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
{
Expand Down
2 changes: 0 additions & 2 deletions samples/Sentry.Samples.Console.Native/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
{
Expand Down
1 change: 1 addition & 0 deletions src/Sentry/Platforms/Cocoa/CocoaEventProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Sentry.Extensibility;
using Sentry.Cocoa.Extensions;

namespace Sentry.Cocoa;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Sentry.Cocoa.Extensions;

namespace Sentry.Cocoa.Facades;

internal class TransactionContextFacade : ITransactionContext
Expand Down
1 change: 0 additions & 1 deletion src/Sentry/buildTransitive/Sentry.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemGroup Condition="$(Language) == 'C#' and ($(ImplicitUsings) == 'enable' or $(ImplicitUsings) == 'true')">
<!-- If the project has ImplicitUsings enabled, and SentryImplicitUsings is not false, auto import Sentry -->
<Using Include="Sentry" />
</ItemGroup>

Expand Down

0 comments on commit 31073b1

Please sign in to comment.