Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
paket pack fails if output is underneath source directory #1473
If the output directory of paket pack is underneath the source directory the operation will fail with the error
Consider this PowerShell script which reproduces the issue
To run this script create C:\Temp\pakettest and drop paket.exe into this directory.
Because "o" is located under the source directory, Paket will try and package it - which of course fails. I propose the output directory is always excluded from packaging, otherwise you need to specify