Commit ba63153
authored
[Xamarin.Android.Build.Tasks] $(HttpActivityPropagationSupport)=false in "Release" (#9933)
Context: d22f04e
Context: dotnet/aspire#4684
Context: dotnet/maui#24365
Context: https://github.com/jfversluis/MauiAspire
Commit d22f04e set the default value of the
[`$(HttpActivityPropagationSupport)' MSBuild property][0] to false,
which "removes code related to diagnostics support for
System.Net.Http." This was done to reduce app size.
.NET Aspire also uses System.Net.Http, and we'd like to System.Net.Http
diagnostics support to be available by default in that environment;
see also dotnet/aspire#4684 and dotnet/maui#24365.
Update the `$(HttpActivityPropagationSupport)` MSBuild property to be
false by default only in "Release" configuration builds, i.e.
when `$(Optimize)`=true.
[0]: https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options1 parent 96db932 commit ba63153
File tree
1 file changed
+1
-1
lines changed- src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments