Skip to content

Commit d2e3961

Browse files
Make System.Transactions.Local trimmable (#75004)
On other target platforms than windows. This fixes #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. #74506 (comment) Co-authored-by: Radek Doulik <radekdoulik@gmail.com>
1 parent f694726 commit d2e3961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Transactions.Local/src/System.Transactions.Local.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)</TargetFrameworks>
66
<NoWarn>CA1805;IDE0059;CS1591</NoWarn>
77
<TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
8-
<IsTrimmable>false</IsTrimmable>
8+
<IsTrimmable Condition="'$(TargetPlatformIdentifier)' == 'windows'">false</IsTrimmable>
99
</PropertyGroup>
1010
<ItemGroup>
1111
<Compile Include="System\Transactions\CommittableTransaction.cs" />

0 commit comments

Comments
 (0)