Skip to content

Conversation

@jamescrosswell
Copy link
Collaborator

Resolves #4141:

When building .NET Framework applications, only whitelisted System.* property function invocations (e.g., System.OperatingSystem.IsWindows() are allowed).

This PR avoid using an unlisted functions in the transitive build targets.

…m" is not available

Resolves #4141:
- #4141

When building .NET Framework applications, only whitelisted `System.*` property function invocations (e.g., `System.OperatingSystem.IsWindows()` are allowed).

This PR avoid using an unlisted functions in the transitive build targets.
@jamescrosswell jamescrosswell marked this pull request as ready for review May 1, 2025 08:51
Co-authored-by: Martin Costello <[email protected]>
@jamescrosswell jamescrosswell merged commit 8978bc4 into main May 1, 2025
26 checks passed
@jamescrosswell jamescrosswell deleted the is-windows branch May 1, 2025 23:53
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.

The function "IsWindows" on type "System.OperatingSystem" is not available for execution as an MSBuild property function.

4 participants