Skip to content

Commit

Permalink
Make System.Transactions.Local trimmable (dotnet#74828)
Browse files Browse the repository at this point in the history
On other target platforms than windows.

This fixes dotnet#74506

The reason to make it non-trimmable is that it uses COM interop
on windows. So we can make it trimmable again on other target platforms.
dotnet#74506 (comment)
  • Loading branch information
radekdoulik authored Aug 31, 2022
1 parent 4c92737 commit 104fe14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)</TargetFrameworks>
<NoWarn>CA1805;IDE0059;CS1591</NoWarn>
<TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
<IsTrimmable>false</IsTrimmable>
<IsTrimmable Condition="'$(TargetPlatformIdentifier)' == 'windows'">false</IsTrimmable>
</PropertyGroup>
<ItemGroup>
<Compile Include="System\Transactions\CommittableTransaction.cs" />
Expand Down

0 comments on commit 104fe14

Please sign in to comment.