Skip to content

Commit

Permalink
[repo] Remove implicit using tweak as it is no longer needed (#5887)
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Kiełkowicz <[email protected]>
  • Loading branch information
CodeBlanch and Kielek authored Oct 6, 2024
1 parent 02f4b2d commit 5106e30
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/>
</ItemGroup>

<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="'$(IsPackable)' == 'true'">
<None Include="$(PackagePrimaryLicenseFile)"
PackagePath="$([System.IO.Path]::GetFileName('$(PackagePrimaryLicenseFile)'))"
Expand Down
9 changes: 0 additions & 9 deletions test/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

<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" />

Expand Down

0 comments on commit 5106e30

Please sign in to comment.