Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sentry to global usings #1398

Merged
merged 15 commits into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

- Events no longer get dropped because of non-serializable contexts or attachments ([#1401](https://github.com/getsentry/sentry-dotnet/pull/1401))
- Add MemoryInfo to sentry event ([#1337](https://github.com/getsentry/sentry-dotnet/pull/1337))
- Add Sentry to global usings when ImplicitUsings is enabled (`<ImplicitUsings>true</ImplicitUsings>`) ([#1398](https://github.com/getsentry/sentry-dotnet/pull/1398))
- Report ThreadPool stats ([#1399](https://github.com/getsentry/sentry-dotnet/pull/1399))

## 3.12.2
Expand Down
7 changes: 6 additions & 1 deletion src/Sentry/Sentry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@
<PackageReference Include="System.Text.Json" Version="5.0.2" />
</ItemGroup>

</Project>
<ItemGroup>
<Content Include="buildTransitive\Sentry.props" PackagePath="buildTransitive\Sentry.props" />
<Content Include="buildTransitive\Sentry.props" PackagePath="build\Sentry.props" />
</ItemGroup>

</Project>
6 changes: 6 additions & 0 deletions src/Sentry/buildTransitive/Sentry.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable'">
<Using Include="Sentry" />
</ItemGroup>
</Project>