Skip to content

Commit 5106e30

Browse files
CodeBlanchKielek
andauthored
[repo] Remove implicit using tweak as it is no longer needed (open-telemetry#5887)
Co-authored-by: Piotr Kiełkowicz <[email protected]>
1 parent 02f4b2d commit 5106e30

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/Directory.Build.targets

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@
1616
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/>
1717
</ItemGroup>
1818

19-
<ItemGroup Condition="'$(TargetFramework)'=='$(NetFrameworkMinimumSupportedVersion)'">
20-
<!--ImplicitUsings will add this namespace that is not available for NetFX.
21-
https://github.com/dotnet/sdk/issues/24146
22-
https://github.com/dotnet/runtime/issues/59163
23-
https://github.com/dotnet/sdk/issues/22515
24-
-->
25-
<Using Remove="System.Net.Http" />
26-
</ItemGroup>
27-
2819
<ItemGroup Condition="'$(IsPackable)' == 'true'">
2920
<None Include="$(PackagePrimaryLicenseFile)"
3021
PackagePath="$([System.IO.Path]::GetFileName('$(PackagePrimaryLicenseFile)'))"

test/Directory.Build.targets

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22

33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'OpenTelemetry.sln'))\build\Common.targets" />
44

5-
<ItemGroup Condition="'$(TargetFramework)'=='$(NetFrameworkMinimumSupportedVersion)'">
6-
<!--ImplicitUsings will add this namespace that is not available for NetFX.
7-
https://github.com/dotnet/sdk/issues/24146
8-
https://github.com/dotnet/runtime/issues/59163
9-
https://github.com/dotnet/sdk/issues/22515
10-
-->
11-
<Using Remove="System.Net.Http" />
12-
</ItemGroup>
13-
145
<ItemGroup Condition="'$(ReferenceCoyotePackages)' == 'true'">
156
<PackageReference Include="Microsoft.Coyote" />
167

0 commit comments

Comments
 (0)