microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.31k stars 1.14k forks source link

Explore using PackageReference to Split NuGet Packages by Build Configuration #8196

Open NickGerleman opened 3 years ago

NickGerleman commented 3 years ago

This does have some really cool implications for binary distribution package size as well, since we could maybe condition package use on current architecture.

Originally posted by @NickGerleman in https://github.com/microsoft/react-native-windows/issues/8195#issuecomment-876030929

mingkuang-Chuyu commented 3 years ago

I think NuGet TFM can fulfill this requirement, but currently, TFM is hard-coded as native v0.0 by NuGet.

I‘m also troubled by binary distribution... The size is up to 10GB.

https://www.nuget.org/packages/VC-LTL/4.1.3