I tried xbuild from mono master as well as mono 3.2.8, and it *did*
complain about the syntax error you made. The output from master is:
---------
atsushi:~/Desktop$ xbuild x.proj
XBuild Engine Version 12.0
Mono, Version 4.3.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 6/5/2015 2:08:48 AM.
__________________________________________________
x.proj: error : /home/atsushi/Desktop/x.proj: Name cannot begin with the
' ' character, hexadecimal value 0x20. Line 1, position 2.
Build FAILED.
Errors:
x.proj: error : /home/atsushi/Desktop/x.proj: Name cannot begin with the
' ' character, hexadecimal value 0x20. Line 1, position 2.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.0105090
---------
Once I fixed the extraneous space between '<' and "Project", it printed
Hello world as expected:
--------
atsushi:~/Desktop$ /usr/bin/xbuild x.proj
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors
Build started 6/5/2015 2:11:17 AM.
__________________________________________________
Project "/home/atsushi/Desktop/x.proj" (default target(s)):
Target Build:
Hello, World!
Done building project "/home/atsushi/Desktop/x.proj".
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.0708910
--------
A precise repro steps would help inspecting possible bugs.
Atsushi Eno
On 2015年06月03日 19:31, Cyd Haselton wrote:
Thing is xbuild doesn't even complain about the syntax errors in that
project. It doesn't do anything except for output version info then exit.
I'll pastebin the file ifthe rebuild I;m working on doesn;t resolve
the issue.
Thanks!
On June 3, 2015 6:18:11 AM CDT, Alan <alan.mcgov...@gmail.com> wrote:
Can you use a pastebin to attach the actual file you're trying to
build? The text you attached has two syntax errors in it and would
not work as-is.
A slightly modified file works as expected for me:
https://gist.github.com/alanmcgovern/c2772a9cafd0d6a5b5ee
Hope that helps!
Alan
On 3 June 2015 at 11:54, Cyd Haselton <chasel...@gmail.com
<mailto:chasel...@gmail.com>> wrote:
I did try xbuild /t:Build Pash.proj. Same result.
I will try the --trace xbuild after I rebuild mono again.
On June 3, 2015 3:18:34 AM CDT, Alan <alan.mcgov...@gmail.com
<mailto:alan.mcgov...@gmail.com>> wrote:
You didn't tell xbuild to build anything and you didn't
set a default target in your proj file.
Try `xbuild /t:Build Pash.proj`
On 2 June 2015 at 23:29, Alexander Köplinger
<alex.koeplin...@outlook.com
<mailto:alex.koeplin...@outlook.com>> wrote:
Yeah, but it's much easier on another machine since we
got the official packages for Mono there :)
Try running xbuild with "MONO_OPTIONS=--trace xbuild"
to show if/what it does before it exits.
------------------------------------------------------------------------
Subject: RE: [Mono-dev] mono 4.0.0 xbuild won't build
project
From: chasel...@gmail.com <mailto:chasel...@gmail.com>
Date: Tue, 2 Jun 2015 17:15:14 -0500
To: alex.koeplin...@outlook.com
<mailto:alex.koeplin...@outlook.com>;
mono-devel-list@lists.ximian.com
<mailto:mono-devel-list@lists.ximian.com>
Excellent point.
Then again...i'd have to install mono on another
machine. Also, I kinda would like to figure out why
xbuild is misbehaving on this one...
On June 2, 2015 5:04:07 PM CDT, "Alexander Köplinger"
<alex.koeplin...@outlook.com
<mailto:alex.koeplin...@outlook.com>> wrote:
No idea about the xbuild issue, but you should be
able to build Pash on another machine and just
copy over the .exe, it is managed code after all ;)
------------------------------------------------------------------------
From: chasel...@gmail.com <mailto:chasel...@gmail.com>
Date: Tue, 2 Jun 2015 16:54:19 -0500
To: mono-devel-list@lists.ximian.com
<mailto:mono-devel-list@lists.ximian.com>
Subject: [Mono-dev] mono 4.0.0 xbuild won't build
project
Just built and installed mono 4.0 from sources.
Basic "Hello World" console program builds and
runs successfully but basic "Hello World" project
(hello.proj) won't build; xbuild displays the
banner and then exits with no errors and without
building the project.
Here's the hello.proj
< Project
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<http://schemas.microsoft.com/developer/msbuild/2003%22%3e>;
<Target Name="Build">
<Message Importance="High" Text="Hello, World!" />
</Target>
</Project>
I;ve tried /verbosity:detailed and several other
flags. I've tried running path/to/mono -v
/path/to/xbuild.exe proj.proj. Same thing happens
every time:
/bld/pash/Pash-Project-Pash-bc07215 $ xbuild Pash.proj
XBuild Engine Version 12.0
Mono, Version 4.0.0.0 <http://4.0.0.0>
Copyright (C) 2005-2013 Various Mono authors
/bld/pash/Pash-Project-Pash-bc07215 $
Please help...this is driving me crazy.
--
Sent from my Android device with K-9 Mail. Please
excuse my brevity.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
<mailto:Mono-devel-list@lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
Sent from my Android device with K-9 Mail. Please excuse my
brevity.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list