-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d574495
commit 1b5ad60
Showing
2 changed files
with
6 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1</TargetFrameworks> | ||
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" /> | ||
<PackageReference Include="coverlet.collector" Version="3.0.2"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="2.1.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="2.1.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.7" /> | ||
</ItemGroup> | ||
|
||
<!-- Run netcoreapp3.0 against netstandard2.1 target of Sentry --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<ProjectReference Update="../../src/Sentry/Sentry.csproj" SetTargetFramework="TargetFramework=netstandard2.1" /> | ||
<!-- NET Core's built-in STJ is lower version which causes conflicts, so we have to explicitly reference it --> | ||
<PackageReference Include="System.Text.Json" Version="5.0.2" /> | ||
<!-- Ben.Demystifier uses S.R.M v5 and also requires it via package reference when on nca3.x --> | ||
<PackageReference Include="System.Reflection.Metadata" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework) == 'netcoreapp2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.1.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework) == 'netcoreapp3.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="3.1.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetFramework) == 'net5.0'"> | ||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Sentry.Tunnel\Sentry.Tunnel.csproj" /> | ||
<ProjectReference Include="../../src/Sentry.Tunnel/Sentry.Tunnel.csproj" /> | ||
<ProjectReference Include="../Sentry.Testing/Sentry.Testing.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |