forked from open-telemetry/opentelemetry-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
24 lines (19 loc) · 989 Bytes
/
Copy pathDirectory.Build.targets
File metadata and controls
24 lines (19 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'OpenTelemetry.sln'))\build\Common.targets" />
<ItemGroup Condition="'$(TargetFramework)'=='$(NetFrameworkMinimumSupportedVersion)'">
<!--ImplicitUsings will add this namespace that is not available for NetFX.
https://github.com/dotnet/sdk/issues/24146
https://github.com/dotnet/runtime/issues/59163
https://github.com/dotnet/sdk/issues/22515
-->
<Using Remove="System.Net.Http" />
</ItemGroup>
<ItemGroup Condition="'$(ReferenceCoyotePackages)' == 'true'">
<PackageReference Include="Microsoft.Coyote" />
<!-- System.Text.Json is an indirect reference through Coyote. This
reference is needed to mitigate:
https://github.com/advisories/GHSA-hh2w-p6rv-4g7w. Remove this if Coyote
publishes a fixed version. -->
<PackageReference Include="System.Text.Json" VersionOverride="$(LatestRuntimeOutOfBandVer)" />
</ItemGroup>
</Project>