Re: xbuild and relative paths
Timotheus Pokorra <[email protected]> Tue, 25 Oct 2016 12:48:16 +0200
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <CAJ0=nQf3p9jPr+Xy7pmE_W9tjXcwnBSgnnOS+4gjaFY-b9gNKA@mail.gmail.com> |
Hello Cyd, > Unfortunately the build fails with the following error: Access to the path > "/data" is denied. > > I don't have permissions to that root path "/data", but I do have > permissions to the subfolders UNDER /data where the .sln file is located. > Is it possible to force xbuild to use relative paths instead? xbuild works fine with relative paths, but /data is an absolute path in the Linux world. If it was just data or ../data or something, that would be a relative path, and it should work as expected. I am usually using sed during the build process to replace things in the csproj file and put it into shape, so that it works on Linux. You could replace /data with data, and see how that works. sed -i "s#/data#data#g" my.csproj All the best, Timotheus _______________________________________________ Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list