[Mono-dev] Mono.Posix Cross Compiling
Alexander Köplinger
alex.koeplinger at outlook.com
Tue Jan 6 20:22:21 UTC 2015
There is a way to set a breakpoint with VS, though it's unsupported: http://blogs.msdn.com/b/visualstudio/archive/2010/07/06/debugging-msbuild-script-with-visual-studio.aspx
Mono docs about the OS variable:
"The default environment variable ‘OS’ is set to “Windows_NT” on all currently supported versions on Windows. xbuild sets this to “Unix” on non-Windows platforms, even on MacOS."
-- Alex
> From: edward.harvey.mono at clevertrove.com
> To: curylod at asme.org
> Date: Tue, 6 Jan 2015 19:57:08 +0000
> CC: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Mono.Posix Cross Compiling
>
> > 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/6e1a6740/attachment.html>
More information about the Mono-devel-list
mailing list