[Mono-list] xbuild and relative paths

Cyd Haselton chaselton at gmail.com
Tue Oct 25 15:06:02 UTC 2016


On Oct 25, 2016 9:30 AM, "Timotheus Pokorra" <
timotheus.pokorra at solidcharity.com> wrote:
>
> > Maybe I'm missing something, but there's no references to the /data
path in
> > the xproj files.  Here's a link to one: http://pastebin.com/LAVQSaP9
> > Where in this file is it pulling the absolute path?
>
> So which steps did you take?
>

Basically I did what you described below:

> I tried on Fedora, with Mono 4.6:
> git clone --depth 1 https://github.com/dotnet/cli.git
> cd cli
> xbuild Microsoft.DotNet.Cli.sln
>
> Result: https://paste.fedoraproject.org/460769/
>
> Lots of warnings like:
> warning : Could not find project file
> /usr/lib/mono/xbuild/Microsoft/VisualStudio/v14.0/DNX/Microsoft.DNX.Props,
> to import. Ignoring.
> Lots of errors like:
>
/root/dotnet/cli/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.xproj
> could not import "$(VSToolsPath)\DNX\Microsoft.DNX.Props"
>
> Are those Props files installed by dotnet corefx or dotnet coreclr?
> I did not install that yet.
>
> Which steps have you taken to get to the /data problem?
>

I'm guessing that you have the permissions needed to access the /root dir
in this absolute path:
/root/dotnet/cli/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.xproj.

I do NOT have access to the /data dir in the absolute path that I'm
building in…just the subdir.

> I wonder if it helps to do this with a vagrant script or Docker file?
> Then we have the same thing?
>

My build device doesn;t have a Docker setup and I;ve never used it; it
would take a while for me to get up to speed.
> Timotheus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20161025/193caaab/attachment-0001.html>


More information about the Mono-list mailing list