ProjectScaffold
ProjectScaffold copied to clipboard
build Release not working...
I was trying to test projectscaffold template (quite out-of-the-box), and build Release
fails with:
Paket failed with:
Could not find a part of the path 'C:\git\MyTest\temp\gh-pages\src\MyTest\bin\Release\MyTest.dll'.
Running build failed.
Error:
System.Exception: Error during packing ..
I don't know why projectscaffold is using this dll from temp\gh-pages. But the bin-folder is not there. Failing target is "NuGet" which is Paket.Pack
I experienced something similar (although with an older version of ProjectScaffold).
In build.fsx
the target ReleaseDocs
writes to temp/gh-pages.
I think the issue in my case was that the paket command was picking up the gh-pages repo and looking for the dll in the wrong path.
I solved it putting a command to clean temp/gh-pages at the end of ReleaseDocs
:
CleanDir tempDocsDir
I don't know if this is a systematic issue and it's worth a PR