Closed somdoron closed 6 years ago
Ok, we could check for the existance of the paket.references file in the project directory instead, would that work on your case?
yes, but we also have to fix the code that checks the paket.lock:
and also here:
That one can traverse the directory tree, at that point we know that there must be one.
Are you using the package?
From: Doron Somech notifications@github.com Sent: Saturday, November 11, 2017 8:52:31 AM To: baseclass/Contrib.Nuget Cc: Daniel Romero; Comment Subject: Re: [baseclass/Contrib.Nuget] [PAKET] cannot use when sln file is not in the same directory as paket.dependencies file (#40)
yes, but we also have to fix the code that checks the paket.lock:
and also here:
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/baseclass/Contrib.Nuget/issues/40#issuecomment-343647744, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADEJ3strThE_pvfcDyFvvuWfDiwfraTcks5s1VI_gaJpZM4QaZer.
That will work, thank you. Yes, I'm both using the library in my own package and consume it.
my package: https://www.nuget.org/packages/zen_secp256k1_linux/
I also plan to have one for windows and one for osx which copy the native library to the output directory.
I can submit the pull request later today if you want.
Happy to accept the PR
From: Doron Somech notifications@github.com Sent: Saturday, November 11, 2017 9:19:37 AM To: baseclass/Contrib.Nuget Cc: Daniel Romero; Comment Subject: Re: [baseclass/Contrib.Nuget] [PAKET] cannot use when sln file is not in the same directory as paket.dependencies file (#40)
That will work, thank you. Yes, I'm both using the library in my own package and consume it.
my package: https://www.nuget.org/packages/zen_secp256k1_linux/
I also plan to have one for windows and one for osx which copy the native library to the output directory.
I can submit the pull request later today if you want.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/baseclass/Contrib.Nuget/issues/40#issuecomment-343648883, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADEJ3vI5tBOBFyxwpttSXZ21SLTd3Q8Uks5s1ViZgaJpZM4QaZer.
Paket is usually at the root git directory and sln file is usually within src directory. The way the code resolve if the project is using paket is by looking at the sln directory for paket.dependecies.
I suggest also looking for the paket.dependencies file at the top git directory (if that is possible) or at the parent directory of the sln file