[Mono-dev] mono 4.0.0 xbuild won't build project

Alan alan.mcgovern at gmail.com
Wed Jun 3 11:18:11 UTC 2015


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 <chaselton at 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.mcgovern at 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.koeplinger at 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: chaselton at gmail.com
>>> Date: Tue, 2 Jun 2015 17:15:14 -0500
>>> To: alex.koeplinger at outlook.com; mono-devel-list at 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.koeplinger at 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: chaselton at gmail.com
>>> Date: Tue, 2 Jun 2015 16:54:19 -0500
>>> To: mono-devel-list at 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">;
>>> <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
>>> 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 at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150603/d9533fef/attachment.html>


More information about the Mono-devel-list mailing list