Open
Description
I have a a netcoreapp2.1
app with a PackageReference
(let's call it MyPackageA) that contains a runtime.json
.
It seems that if I don't include this MyPackageA PackageReference
explicitly in the final executable project, its runtime.json
is not properly used to compute the deps.json file (and it can't find/load some of the .dll).
What works:
- Main executable project:
PackageReference
to MyPackageA in main executable project
What doesn't work:
- Main executable project:
PackageReference
that references MyPackageA transitively - Library1:
PackageReference
to MyPackageA + Main executable: ProjectReference to Library1
This problem doesn't happen with net461 (libraries are properly copied by Visual Studio in all situations).