Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the interpreter by default for Debug (UseInterpreter=True) #14445

Closed
mattleibow opened this issue Mar 17, 2022 · 5 comments
Closed

Use the interpreter by default for Debug (UseInterpreter=True) #14445

mattleibow opened this issue Mar 17, 2022 · 5 comments
Labels
dotnet An issue or pull request related to .NET (6) enhancement The issue or pull request is an enhancement
Milestone

Comments

@mattleibow
Copy link
Contributor

mattleibow commented Mar 17, 2022

iOS application type

iOS for .NET (net6.0-ios, net6.0-maccatalyst, etc.)

Affected platform version

All

Description

Set $(UseInterpreter) to True by default for debug builds of apps.

Android issue: dotnet/android#6841

@rolfbjarne rolfbjarne added the dotnet An issue or pull request related to .NET (6) label Mar 21, 2022
@rolfbjarne rolfbjarne added this to the .NET 6 milestone Mar 21, 2022
@rolfbjarne rolfbjarne added the enhancement The issue or pull request is an enhancement label Mar 21, 2022
@rolfbjarne
Copy link
Member

Enabling the interpreter will also enable some AOT compilation on at least some platforms, which might mean the build performance gets worse.

This needs testing to get decent perf numbers, and it's a bit late for .NET 6, so I'm postponing to .NET 7.

@rolfbjarne rolfbjarne modified the milestones: .NET 6, .NET 7 Apr 21, 2022
@jamesmontemagno
Copy link

This is required for Hot Restart for iOS from windows correct?

@jamesmontemagno
Copy link

And Hot reload of C# code as well correct?

The flag was removed form the templates in RC 2....

@rolfbjarne
Copy link
Member

@mattleibow can you answer the above?

@rolfbjarne
Copy link
Member

This was solved in MAUI: dotnet/maui#8450

@ghost ghost locked as resolved and limited conversation to collaborators Oct 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dotnet An issue or pull request related to .NET (6) enhancement The issue or pull request is an enhancement
Projects
None yet
Development

No branches or pull requests

3 participants