il-repack icon indicating copy to clipboard operation
il-repack copied to clipboard

Resolving package references

Open softlion opened this issue 6 years ago • 1 comments

I'm using beta version of ilrepack.
It is unable to find any package references of a netstandard 2 lib merged with another netstandard 2 lib.
I manually added this one:

/lib:`"~/.nuget/packages/NETStandard.Library/2.0.0/build/netstandard2.0/ref`""

But ilrepack asks the same for all other packages in the project. He is not able to add a star folder as /lib ? Something like would be good:

/lib:`"~/.nuget/packages/**"

softlion avatar Oct 16 '17 10:10 softlion

@softlion You can add multiple references to it, I am doing same with cake build. The work around would be to add reference to netstandard2.0/ref, which you already did. In addition, also add references to YourProject/bin/netstandard2.0/. Or may to location where your all project related dll fles exists. After that merging should work fine once these both references are there.

emysa341 avatar Nov 27 '17 10:11 emysa341