Skip to content

Commit

Permalink
Only enable UseInterpreter for Android?
Browse files Browse the repository at this point in the history
Context: dotnet/runtime#74628

Let's see if this gets past the errors on CI
  • Loading branch information
jonathanpeppers committed Aug 26, 2022
1 parent b0801ee commit 659e8d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .nuspec/Microsoft.Maui.Controls.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<PropertyGroup>
<_IsHotRestartDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)HOTRESTART($|;)'))</_IsHotRestartDefined>
<DefineConstants Condition="!$(_IsHotRestartDefined) And '$(IsHotRestartBuild)' == 'true'">HOTRESTART;$(DefineConstants)</DefineConstants>
<UseInterpreter Condition="'$(UseInterpreter)' == '' and '$(Configuration)' == 'Debug'">True</UseInterpreter>
<!-- Only enabled on Android, see: https://github.com/dotnet/runtime/issues/74628 -->
<UseInterpreter Condition="'$(UseInterpreter)' == '' and '$(Configuration)' == 'Debug' and '$(TargetPlatformIdentifier)' == 'Android'">True</UseInterpreter>
<MtouchLink Condition="'$(MtouchLink)' == '' and '$(Configuration)' == 'Debug' and '$(UseInterpreter)' == 'true'">None</MtouchLink>
</PropertyGroup>

Expand Down

0 comments on commit 659e8d5

Please sign in to comment.