[Mono-dev] Mono.Posix Cross Compiling
curylod at asme.org
Tue Jan 6 03:01:15 UTC 2015
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
More information about the Mono-devel-list