> From: Dave Curylo [mailto:dacur...@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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to