8000 Use IL assemblies for NuGet packages to reduce size by adityapatwardhan · Pull Request #9171 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Use IL assemblies for NuGet packages to reduce size#9171

Merged
adityapatwardhan merged 4 commits intoPowerShell:masterfrom
adityapatwardhan:NuGetIL
Mar 21, 2019
Merged

Use IL assemblies for NuGet packages to reduce size#9171
adityapatwardhan merged 4 commits intoPowerShell:masterfrom
adityapatwardhan:NuGetIL

Conversation

@adityapatwardhan
Copy link
Member
@adityapatwardhan adityapatwardhan commented Mar 20, 2019

PR Summary

The framework dependent build, builds IL assemblies. This PR uses those assemblies to build the packages. This drastically reduces the nuget package size.

PR Context

We needed RID specific folders earlier due to crossgen. As crossgen'ed assemblies are runtime specific. Now that we are using IL assemblies, we just have win and unix runtimes as, IL assemblies work on all runtimes. We still need win and unix due to differences in source code due to conditional compilation.

Same as earlier, native dependencies are pulled in through references in the packages.

PR Checklist

@daxian-dbw
Copy link
Member

/cc @TylerLeonhardt

@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 21, 2019
@adityapatwardhan adityapatwardhan merged commit 337ce63 into PowerShell:master Mar 21, 2019
@adityapatwardhan adityapatwardhan deleted the NuGetIL branch March 21, 2019 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0