Skip to content

Commit

Permalink
Add AdbTarget to avoid Microsoft's fantastic code
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneySprings committed Dec 2, 2024
1 parent 3d23603 commit f97ec77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VSCode/providers/dotnetTaskProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export class DotNetTaskProvider implements vscode.TaskProvider {
builder.append(`-p:AndroidSdkDirectory=${ConfigurationController.androidSdkDirectory}`);
builder.conditional('-p:EmbedAssembliesIntoApk=true', () => ConfigurationController.profiler);
builder.conditional('-p:AndroidEnableProfiler=true', () => ConfigurationController.profiler);
// TODO: https://github.com/dotnet/android/issues/9567
builder.conditional(`-p:AdbTarget=-s%20${ConfigurationController.device?.serial}`, () => ConfigurationController.device?.serial);
}
if (ConfigurationController.isAppleMobile()) {
// 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');
builder.conditional('-p:BuildIpa=true', () => !ConfigurationController.onMac);
}
Expand Down

0 comments on commit f97ec77

Please sign in to comment.