Skip to content

Commit

Permalink
Add System.Reflection.Metadata as a dependency for netcoreapp3.0 targ…
Browse files Browse the repository at this point in the history
…et (#1064)

* Add System.Reflection.Metadata as a dependency for netcoreapp3.0 target

* Changelog

Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
  • Loading branch information
Tyrrrz and bruno-garcia authored Jun 18, 2021
1 parent 97ef30f commit 2ac97c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

- Handle error thrown while trying to get `BootTime` on PS4 with IL2CPP ([#1062](https://github.com/getsentry/sentry-dotnet/pull/1062))
- Use SentryId for ISession.Id ([#1052](https://github.com/getsentry/sentry-dotnet/pull/1052))
- Add System.Reflection.Metadata as a dependency for netcoreapp3.0 target([#1064](https://github.com/getsentry/sentry-dotnet/pull/1064))

## 3.6.0-alpha.1

Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="UnoptimizedAssemblyDetector" Version="0.1.1" PrivateAssets="All" />
<PackageReference Include="Roslynator.Analyzers" Version="3.0.0" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion src/Sentry/Sentry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Link>%(RecursiveDir)/%(Filename)%(Extension)</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) or '$(TargetFramework)' == 'net461'">
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) or $(TargetFramework.StartsWith('netcoreapp')) or '$(TargetFramework)' == 'net461'">
<PackageReference Include="System.Reflection.Metadata" Version="5.0.0" />
</ItemGroup>
<!-- Ben.Demystifier -->
Expand Down

0 comments on commit 2ac97c8

Please sign in to comment.