Skip to content

Commit

Permalink
[Fix] Does not profile iOS app in release configuration. #132
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneySprings committed Oct 28, 2024
1 parent e3f8e43 commit fbf9d24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/VSCode.Extension/providers/dotnetTaskProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ export class DotNetTaskProvider implements vscode.TaskProvider {
builder.conditional('-p:AndroidEnableProfiler=true', () => ConfigurationController.profiler);
}
if (ConfigurationController.isAppleMobile()) {
builder.conditional('-p:_BundlerDebug=true', () => !ConfigurationController.profiler);
builder.conditional('-p:MtouchProfiling=true', () => ConfigurationController.profiler);
// TODO: https://github.com/xamarin/xamarin-macios/issues/21530
// builder.conditional('-p:_BundlerDebug=true', () => !ConfigurationController.profiler);
// builder.conditional('-p:MtouchProfiling=true', () => ConfigurationController.profiler);
builder.append('-p:MtouchDebug=true');
}
if (ConfigurationController.isMacCatalyst()) {
builder.conditional('-p:_BundlerDebug=true', () => !ConfigurationController.profiler);
Expand Down

0 comments on commit fbf9d24

Please sign in to comment.