nostrand
nostrand copied to clipboard
Build fails on Linux with non-bash default shell
I have tried to build nostrand on Ubuntu 17.04. I have replaced all references to sh
in the csproj with bash
, but it still fails to build with:
christian@lacan:~/Development/nostrand$ xbuild
XBuild Engine Version 14.0
Mono, Version 4.6.2.0
Copyright (C) 2005-2013 Various Mono authors
Build started 02.07.2017 09:35:37.
__________________________________________________
Project "/home/christian/Development/nostrand/Nostrand.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Target Build:
Project "/home/christian/Development/nostrand/Nostrand.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: x64
Target PreBuildEvent:
Executing:
/bin/bash ../../Scripts/pre-build.sh
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target _GenerateTargetFrameworkMonikerAttribute:
Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Done building project "/home/christian/Development/nostrand/Nostrand.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/home/christian/Development/nostrand/Nostrand.sln".-- FAILED
Done building project "/home/christian/Development/nostrand/Nostrand.sln".-- FAILED
Build FAILED.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.2741790
I am not sure how to fix the failure. Any hints?
What shell are you using?
christian@lacan ~> ls -lah /bin/sh
lrwxrwxrwx 1 root root 4 Okt 17 2016 /bin/sh -> dash*