[Mono-dev] Mono.Posix Cross Compiling

Rafael Teixeira monoman at gmail.com
Tue Jan 6 20:19:45 UTC 2015


Edward,

Perhaps using the <Message ...> task to output the current value to the
logging output, by default the console...

On Tue, Jan 6, 2015, 18:11 Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:

> > From: Dave Curylo [mailto:dacurylo at gmail.com] On Behalf Of David Curylo
> >
> > You're right.I didn't realize that was what's going on.  It looks like
> conditional
> > references need some hand holding like this:
> >
> >   <Choose>
> >     <When Condition=" '$(OS)' == 'Unix' ">
> >       <ItemGroup>
> >         <Reference Include="Mono.Posix" />
> >       </ItemGroup>
> >     </When>
> >   </Choose>
>
> Very nice.  I'm going to start using that.
>
> Previously, you had a value 'Windows_NT' and now you have a value 'Unix'
> in there.  How do you figure out what values are valid?  I presume there's
> no such thing as setting a breakpoint inside the .csproj file to see what
> the variable is set to...
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150106/dc5a8f4f/attachment.html>


More information about the Mono-devel-list mailing list