-
Notifications
You must be signed in to change notification settings - Fork 520
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
Paket 'pack' does not correctly exclude 'project' template files #1818
Labels
Comments
type project
template files
You can view an example of a build failing due to this here: With the actual commit: |
thanks for reporting. should be fixed now. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I experienced some very unclear difficulties with adding exclusions to paket's pack command.
Paket pack
exclude
parameters doesn't seem to work when thepaket.template
file begins withtype project
, even if the project specifies an ID on the next line.Repro steps
project
..paket/paket.exe -v pack output "bin" exclude OpenTK.GLWidget
Expected behavior
Paket should exclude the project by ID if it specifies one, regardless of whether the type is a project or a file.
Actual behavior
Paket fails with an obscure error message:
Paket failed with: Could not find a part of the path '<snip>\src\OpenTK.GLWidget\bin\Release\OpenTK.GLWidget.dll'.
Known workarounds
Change the type from
project
tofile
.Related information
The text was updated successfully, but these errors were encountered: