Closed analogrelay closed 8 years ago
Grah! It's nearest-wins plus our weird embedded Microsoft.NETCore.Platforms
version. I'm going to remove that weird version and instead manually merge in our runtime data (allowing existing runtime data to override it). We only have that package to ensure that if someone doesn't pull in a package that defines what win10-x64
(and friends) mean, we still know what they mean.
Additionaly I observed situation, that dnx publish command publish app with depedencies (packages), but finally, when we want to run app (from published folder) published runtime (dnx) still use packages from C:\Users[user].dnx\packages, instead from published packages.
Tested in runtime dnx-coreclr-win-arm.1.0.0-rc2-16177, during publish asp.net webapi.
There are probably some issues with this in arm
. Right now arm
isn't formally supported, so we'll try to take a look but this issue is focused on solving the issues with the officially supported flavors of RC1.
Thanks for the report!
In order to properly pull in runtime dependencies, a direct dependency on
Microsoft.NETCore.Platforms
is required. However, when we publish with--no-source
, we create a synthetic outer project that references the compiled project output. This means that we appear to incorrectly handle the reference toMicrosoft.NETCore.Platforms
.Some solutions:
Microsoft.NETCore.Platforms
, pull that dependency through to the project we createMicrosoft.NETCore.Platforms
correctly./cc @davidfowl @muratg @Eilon @BrennanConroy