When does .NET work on UNIX?

I heard about mono for developing cross-platform .Net applications, but why .Net Framework itself includes conditional compilation, for example

#if PLATFORM_UNIX ... #endif // PLATFORM_UNIX 

as seen in the source .Net Framework for System.IO.Path

+7
source share
3 answers

This is for SSCLI , which uses most of the same code base and can work on UNIX

+5
source

I'm going to take on a wild guess and go with what you see, these are relics from Rotor, an implementation of FreeBSD.NET from the way back that day.

IIRC Rotor was somehow involved in the Hotmail conversion process when MS bought this company.

+5
source

From the SSCLI source code, we can understand that the CLR very easily supports other platforms if MS wants to.

0
source

All Articles