[Mono-dev] Mono.Posix Cross Compiling
gregoryyoung1 at gmail.com
Tue Jan 6 03:02:29 UTC 2015
Ah nice I didn't know you could do that. Thanks! Saves me the trouble
of copying bunches of externs :)
On Tue, Jan 6, 2015 at 5:01 AM, David Curylo <curylod at asme.org> wrote:
> If you edit the .csproj file, you can have a platform-specific reference Mono.Posix like this:
> <Reference Include="Mono.Posix" Condition=" '$(OS)' != 'Windows_NT' " />
> On Windows with Visual Studio or msbuild, the reference will be ignored. Building under mono with Xamarin Studio, Monodevelop, or xbuild, the reference will be included.
> On Jan 5, 2015, at 6:08 PM, Greg Young <gregoryyoung1 at gmail.com> wrote:
>> Have anyone used mono.posix or mono.unix.native in a cross compiling
>> scenario where you have to support visual studio builds? How did you
>> handle this? I don't seem to be able to do a platform specific
>> I am not using much out of it and it seems like just copy/pasting the
>> extern definitions to monoposixhelper might be the easiest way.
>> Any ideas?
>> Studying for the Turing test
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
Studying for the Turing test
More information about the Mono-devel-list