Skip to content

Conversation

baronfel
Copy link
Member

In #50561 we sent new properties on TargetFrameworkEval, but we didn't allowlist them through the MSBuildLogger so we never saw the new properties.

The allowlisting inside the MSBuildLogger was done before the AllowEmptyTelemetry Task had the Hash metadata, so by moving to that we can remove any special handling inside the MSBuildLogger itself and more easily audit the telemetry data configuration.

@baronfel baronfel requested a review from a team September 19, 2025 15:04
<TFTelemetry Include="PublishProtocol" Value="$(PublishProtocol)" />
<TFTelemetry Include="Configuration" Value="$(Configuration)" />
<TFTelemetry Include="PublishProtocol" Value="$(PublishProtocol)" />
<TFTelemetry Include="Configuration" Value="$(Configuration)" Hash="true" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After talking to Daniel, we should:

  • change the default of AllowEmptyTelemetry so that values are hashed by default and require explicit opt out (so we can be safe)
  • audit and annotate all of the existing usage of AllowEmptyTelemetry to align with this new default

@baronfel baronfel merged commit 9418427 into dotnet:release/10.0.1xx Sep 22, 2025
26 of 27 checks passed
@baronfel baronfel deleted the ensure-msbuild-tfm-eval-properties-are-sent branch September 22, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants