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 with type project, even if the project specifies an ID on the next line.
Repro steps
- Create a paket.template file in your project with the type as
project.
- Try to run paket pack:
.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 to file.
Related information
- Operating system: W10
- Branch: Stable? Whichever the bootstrapper downloads.
Description
I experienced some very unclear difficulties with adding exclusions to paket's pack command.
Paket pack
excludeparameters doesn't seem to work when thepaket.templatefile 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.GLWidgetExpected 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
projecttofile.Related information