-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V3] Why paket.dependencies should be in repo root? #1768
Comments
tbh it was always meant to look like the following:
if v2 allowed the structure that you had then this wasn't really intended. We really believe the dependencies file belong into the root to make things crystal clear. Deps are super important and everyone needs to know about them. This is a major difference to NuGet where it always was intended to hide dependency management. Sorry if this breaks things for you, but it's really how we think about it. |
Shouldn't this still work provided you set the working directory to |
yes that's correct. but it will only work inside the src folder. |
I get build errors in Visual Studio, on a solution file that is within the src folder. Actually I tried to use the structure you suggest but in v2 it just did not work. It required to have |
Ok. Something is probably messed up now. Can you please try to convert to the suggested structure and use find/replace in files to fix the path issues? In most case paket install should fix this automatically but it seems something is weird now. If you want you can mail me the solution and I try to fix it for you |
OK, I run |
I would assume it fix that as well. But seems it doesn't. OK, I run paket auto-restore on and path to both bootstrapper and paket — Reply to this email directly, view it on GitHub |
Yes, I changed my comment. |
Ok I guess this is a bug then. Can you please prepare a repro? |
We have the following repo structure:
This worked well in V2. Now with V3 we get build errors that
paket.dependencies
file is not found and I need to ensure it is in the repo root. Indeed, when I move it there along withpaket.lock
, the error disappears. But this essentially means I have.paket
under thesrc
, however my dependencies and lock files are moved to the repo root despite there is no guarantee there is only one solution in this repo and they will get in conflict.What was the reason behind the decision to have the dependencies and lock files in the repo root instead of a solution root?
The text was updated successfully, but these errors were encountered: