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

Sebastien Pouliot spouliot at videotron.ca
Fri May 9 23:15:00 EDT 2003


Well I think this is a great idea! Anything for the Compact Framework ?

>     We will be likely adding compiler switches and some class library
> reorganization to choose the runtime environment you want to create, but
> for the time being, we want to ask developers to use the following
> symbols in their code:
>
> USE_VERSION_1_1
> USE_VERSION_1_0
>
>     To selectively include or exclude pieces of the class libraries.

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.

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot at motus.com
home: spouliot at videotron.ca





More information about the Mono-devel-list mailing list