Skip to content

Commit 14040dc

Browse files
authored
Code Quality: Added DisableRuntimeMarshalling to the all trim-safe projects (#17490)
1 parent 2836ba0 commit 14040dc

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1212
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1313
<IsAotCompatible>true</IsAotCompatible>
14+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
1415
</PropertyGroup>
1516

1617
<PropertyGroup>

src/Files.App.CsWin32/Files.App.CsWin32.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<Platforms>x86;x64;arm64</Platforms>
1111
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1212
<IsAotCompatible>true</IsAotCompatible>
13+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

src/Files.App.Server/Files.App.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
2929
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
3030
<IsAotCompatible>true</IsAotCompatible>
31+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
3132
</PropertyGroup>
3233

3334
<ItemGroup>

src/Files.App.Storage/Files.App.Storage.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1212
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1313
<IsAotCompatible>true</IsAotCompatible>
14+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
1415
</PropertyGroup>
1516

1617
<ItemGroup>

src/Files.Core.Storage/Files.Core.Storage.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<Platforms>x86;x64;arm64</Platforms>
1010
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1111
<IsAotCompatible>true</IsAotCompatible>
12+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
1213
</PropertyGroup>
1314

1415
<ItemGroup>

src/Files.Shared/Files.Shared.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<Platforms>x86;x64;arm64</Platforms>
1010
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1111
<IsAotCompatible>true</IsAotCompatible>
12+
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
1213
</PropertyGroup>
1314

1415
<ItemGroup>

0 commit comments

Comments
 (0)