-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mark native files in RuntimeList.xml as "DropFromSingleFile" unless from a specific list of known files. #36047
Conversation
…rom a specific list of known files.
Tagging subscribers to this area: @ViktorHofer |
I believe this change needs to be made in the Arcade version of this task. I think the one in this repo is dead code. cc: @dagood Here’s the arcade version: https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/src/CreateFrameworkListFile.cs |
Thanks!! |
@@ -186,6 +186,11 @@ public override bool Execute() | |||
} | |||
} | |||
|
|||
if (f.IsNative && !ShouldIncludeInSingleFileHost(f.Filename)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be done similarly to ReferencedByDefault
(or metadata on Files
or something), not hard-coded into the build task itself, so that putting it into Arcade doesn't prevent quickly changing it in dotnet/runtime. (Also makes the data easier to find.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When it was supposed to be entirely in runtime, it could be more convenient to keep the logic in one place.
If this needs to go into arcade, I guess adding it as metadata on Files could make sense.
Is there an issue associated with this? |
cc: @swaroop-sridhar |
The associated issue: dotnet/sdk#11567 |
Can we remove this file from the runtime repo? Or is there a reason to keep them here too? |
It's already gone. #35405 |
mark native files in RuntimeList.xml as "DropFromSingleFile" unless from a specific list of known files.