[Mono-devel-list] Help finding a define

Jackson Harper jackson at ximian.com
Mon Mar 1 14:26:55 EST 2004


It would be better if you told us where the incorrect exceptions are so
we can fix them.

Thanks,
Jackson

On Mon, 2004-03-01 at 09:40, Jose Cornado wrote:
> Guys:
> 
> I am working on some C# code that I want to be able run seamlessly
> between .Net and Mono. 
> 
> The problem that I am running into is that some of the Exception
> messages between .Net and Mono are not the same. 
> 
> I looked at System.Environment but it just throws version numbers. If 
> I wanted to System.Environment use  as a way to find out if my code is
> running on .Net or Mono there is a risk that the version numbers
> coincide.
> 
> Is there a define in the Mono environment that I could use to safely
> choose one or the other?
> 
> Thanks a lot!!




More information about the Mono-devel-list mailing list