Open
Description
This task is a part of dotnet/roslyn#6763
The build team will generate a file with a map of assemblies, packages which can be checked for usage/non-usage. MS Build will generated the file. If other environments are used, they have to provide this file on their own.
Activity
ivanbasov commentedon Aug 8, 2019
@nguerrera and @livarcocc please help with scheduling.
vatsalyaagrawal commentedon Mar 11, 2020
@rainersigwald please help with scheduling.
JoeRobich commentedon Mar 20, 2020
A proposal for what the mapping could look like.
Updated to include
IsRuntimeRequired
property which is used to indicate a reference is knowingly unused at compile time but necessary at runtime.davkean commentedon Apr 28, 2020
When we discussed this last time, this was going to be some metadata on the resulting resolved reference that pointed back to the original item spec + original item type. We would use the same data for when you copied a reference from one project to another or used a code fix to install a reference from another project.
mjsabby commentedon May 24, 2020
Will this file contain assembyrefs that were walked as part of compilation but never ended up in the output assembly? So for example an assembly that only has type forwards?
marcpopMSFT commentedon Nov 23, 2020
Update: There is an effort to see if the data needed for this can be pulled from the project.assets.json file so a map may not be needed from the SDK. We'll keep an eye on that and update this issue if that ends up being the case.
stan-sz commentedon Dec 20, 2022
@marcpopMSFT - do you have any update for the effort?
marcpopMSFT commentedon Jan 3, 2023
Adding @JonDouglas and @aortiz-msft to see if they recall if any effort on the nuget side for this made progress.