Closed DamianEdwards closed 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
That should be easy to implement. Just find all projects to set ProduceReferenceAssembly to false. Meanwhile redist project has it set already
We might want to do https://github.com/dotnet/sdk/issues/16193 instead
For 6.0.100, we should not include these in the sdk install. Separately, we should discuss not including them in the bin directory output at all on a build and the repercussions of that change.
Adding this to the SDK product size .net 7 idea document and closing.
The CLI layout on disk after installation includes numerous
ref
directories. None of these, as far as I can tell, are required but were included because one is produced by default in build output since .NET 5 and thus they get included in the overall CLI layout.We should look at tweaking the build properties to remove these directories as they simply add to the install time and on disk footprint of the CLI.
Note that changing the default for exe outputs to not produce a
ref
dir is being considered for .NET 6 https://github.com/dotnet/sdk/issues/16193