[Mono-list] xbuild and relative paths

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Tue Oct 25 14:30:40 UTC 2016


> 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?

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 wonder if it helps to do this with a vagrant script or Docker file?
Then we have the same thing?

Timotheus


More information about the Mono-list mailing list