I’m trying to get OctoPack running on Mono / Mac but seeing some strange path issues.
The NuSpec file that OctoPack generates into obj/octopacking has fully qualified paths (i.e. <file src="/Users/jcrowley/Development/SolutionName/src/ ) etc. However, it then calls
nuget.exe pack “/Users/jcrowley/Development/SolutionName/src/ProjectName/obj/octopacking/ProjectName.nuspec” -NoPackageAnalysis -BasePath “/Users/jcrowley/Development/SolutionName/src/ProjectName” -OutputDirectory “/Users/jcrowley/Development/SolutionName/src/ProjectName/obj/octopacked” -Version 0.0.0-beta
and gets upset because it can’t find
/Users/jcrowley/Development/SolutionName/src/ProjectName/Users/jcrowley/Development/SolutionName/src/ProjectName
if I update the paths in the NuSpec file manually so they are relative to the BasePath parameter then the command works. I’m still digging through the OctoPack source code but on the off chance this is something that’s been asked about or reported before…