Skip to content

Commit

Permalink
Scope down runtime marshalling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaanstra committed Jan 8, 2024
1 parent 0fc4f92 commit cfc6fce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Authoring/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<PropertyGroup>
<DisableRuntimeMarshalling>True</DisableRuntimeMarshalling>
</PropertyGroup>

</Project>
1 change: 0 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<TestsBuildTFMs>net6.0-windows10.0.19041.0;net7.0-windows10.0.19041.0</TestsBuildTFMs>
<TestsBuildTFMs Condition="'$(CIBuildReason)' == 'CI'">net6.0-windows10.0.19041.0;net7.0-windows10.0.19041.0</TestsBuildTFMs>
<WindowsAppSDKVerifyWinrtRuntimeVersion>false</WindowsAppSDKVerifyWinrtRuntimeVersion>
<DisableRuntimeMarshalling>True</DisableRuntimeMarshalling>
</PropertyGroup>

<PropertyGroup Condition="!$(IsTargetFrameworkNet5OrGreater)">
Expand Down
3 changes: 3 additions & 0 deletions src/Projections/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

<PropertyGroup>
<SimulateCsWinRTNugetReference>true</SimulateCsWinRTNugetReference>

<!-- Projections should not require runtime marshalling. -->
<DisableRuntimeMarshalling>True</DisableRuntimeMarshalling>
</PropertyGroup>

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
Expand Down
5 changes: 5 additions & 0 deletions src/WinRT.Runtime/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<PropertyGroup>
<!-- Projections should not require runtime marshalling. -->
<DisableRuntimeMarshalling>True</DisableRuntimeMarshalling>
</PropertyGroup>

</Project>

0 comments on commit cfc6fce

Please sign in to comment.