Skip to content

Commit

Permalink
Add Sentry to global usings (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Jan 14, 2022
1 parent 4f304c1 commit 6f90524
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## Unreleased

## Features

- Add Sentry to global usings when ImplicitUsings is enabled (`<ImplicitUsings>true</ImplicitUsings>`) ([#1398](https://github.com/getsentry/sentry-dotnet/pull/1398))

### Fixes

- Create CachingTransport directories in constructor to avoid DirectoryNotFoundException ([#1432](https://github.com/getsentry/sentry-dotnet/pull/1432))

## 3.13.0

### Features
Expand All @@ -10,7 +20,6 @@
### Fixes

- Dispose of client should only flush ([#1354](https://github.com/getsentry/sentry-dotnet/pull/1354))
- Create CachingTransport directories in contructor to avoid DirectoryNotFoundException ([#1432](https://github.com/getsentry/sentry-dotnet/pull/1432))

## 3.12.3

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="$(Language) == 'C#' and ($(ImplicitUsings) == 'enable' or $(ImplicitUsings) == 'true')">
<Using Include="Sentry" />
</ItemGroup>
</Project>

0 comments on commit 6f90524

Please sign in to comment.