-
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
Improvements to single-file analysis #44488
Comments
Tagging subscribers to this area: @agocke, @vitek-karas Issue meta data
|
As part of the "Users can annotated their own APIs" we will introduce an attribute similar to dotnet/linker#1607 will probably force us to move analysis around |
Should something like this be parented under a single file user story? |
Probably a question for @samsp-msft |
I think we're all just figuring out what is useful to us, hence the question. I'm going to be bold and make it a user story under the single file epic. I think in general 'significant work items' make sense to have in the tree. It's certainly helpful to me to see all the major work. Feel free to change. |
Making story so it appears in the tree -- but now I see you have removed it @marek-safar ? |
Update: cutting whole-program analysis of single-file for 6.0. Telemetry shows that most users are not using linking in conjunction with PublishSingleFile, so adding single-file analysis in the linker could produce several downsides, including slowing down publish significantly. As a longer-term plan, adding the analysis to either a separate tool or inside crossgen is likely a better path here. |
The existing single-file analyzer covers the top issues customers will likely hit with single-file, but it has some shortcomings.
Goals
mono/linker
repodotnet/runtime
repo to identify problems in the frameworkWork
RequiresUnreferencedCode
(code, ref assemblies)RequiresUnreferencedCode
)mono/linker
repoPublishSingleFile
property - warnings on-by-default??? (they already are for user code, what about whole-program analysis done by linker).cs
file withSuppressMessage
attributes which will be removed by compilation?)The text was updated successfully, but these errors were encountered: