Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

@NikolaMilosavljevic NikolaMilosavljevic commented Apr 24, 2023

Patch for this issue: dotnet/source-build#3417

NoTargetFrameworkFiltering property, in emsdk repo, should be moved from eng/SourceBuild.props to Directory.Build.props. Without this change, switching to opt-out TFM model (dotnet/source-build#3362) would cause all emsdk projects to get excluded from the build.

This would match the implementation in the runtime repo (https://github.com/dotnet/runtime/blob/018a9bd43851c998f9239aedf2fcc09c5eff7488/Directory.Build.props#L304-L305).

This change is a prerequisite for dotnet/arcade#13271


+ <PropertyGroup>
+ <!-- Emsdk doesn't support Arcade-driven target framework filtering. -->
+ <NoTargetFrameworkFiltering>true</NoTargetFrameworkFiltering>
Copy link
Member

Choose a reason for hiding this comment

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

I am curious why this needs to be set in the repo's root Directory.Build.props file. It seems preferrable in the SourceBuild.props.

@NikolaMilosavljevic NikolaMilosavljevic merged commit 59fe5f8 into dotnet:main Apr 24, 2023
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