[Mono-dev] Mono.Posix Cross Compiling
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Tue Jan 6 19:57:08 UTC 2015
> 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...
More information about the Mono-devel-list
mailing list