[Mono-devel-list] Strategy for 1.0 and 1.1

Miguel de Icaza miguel at ximian.com
Sat May 10 14:33:04 EDT 2003


Hello,

> I did a quick search on the source files but didn't find any match for
> USE_VERSION_1_ - neither in *.cs or in the makefile.
> 
> So far I've only used USE_VERSION_1_0 to ensure default compatibility with
> 1.1.
> e.g.
> #if USE_VERSION_1_0
>         public class KeySizes {
> #else
>         public sealed class KeySizes {
> #endif
> 
> However unless the symbols are added to the makefile there's a chance that
> the resulting compiled assembly will some become a mix of 1.0/1.1.

You are right, we should start adding this to the build.

Miguel



More information about the Mono-devel-list mailing list