Skip to content

Conversation

@c0shea
Copy link
Contributor

@c0shea c0shea commented Oct 27, 2025

Summary

Use Path.Combine and Environment.NewLine in GetVersionInfo examples. Path.Combine was already used in the first call, but not in the second. This fixes that for consistency to avoid naïve \\ concatenation.

This also uses Environment.NewLine instead of \n and the undefined vbLf variable.

@c0shea c0shea requested a review from a team as a code owner October 27, 2025 16:58
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 27, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 27, 2025
@c0shea
Copy link
Contributor Author

c0shea commented Oct 27, 2025

@dotnet-policy-service agree

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

Thanks - also the preceding line isn't needed.

c0shea and others added 3 commits October 27, 2025 20:37
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren gewarren merged commit 6d25720 into dotnet:main Oct 28, 2025
4 of 5 checks passed
@c0shea c0shea deleted the FileVersionInfo branch October 29, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates that the PR has been added by a community member needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants