Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
System.ComponentModel.Composition doesn't work on UWP #33434
ML.NET has recently started using
I looked into this and it appears that https://www.nuget.org/packages/System.ComponentModel.Composition/ has a placholder (
So something should change here. Either we should ship that assembly inbox in UWP, or we should remove the placeholder in the package.
referenced this issue
Nov 12, 2018
What happened here is that if you take a look at older versions of the UWP metapackage you will find that it indeed have System.ComponentModel.Composition.dll in it. The difference is that this was only a shim, because we were not building a contract for it yet in corefx, so it was only intended to be a shim (similar to System.dll or mscorlib.dll). After that, we decided to add this contract into corefx, so we removed the build of this shim, but never really added it inbox again to UAP which is what broke this.
FWIW, this is when we added the contract for this assembly #24921 and it is also when we stopped building the shim.
@zamont I think that in order to fix this, we need to add a