[Mono-list] forcing csc to use local definitions

Jaak Simm jaaksimm@firm.ee
Wed, 08 May 2002 14:59:46 +0200


Thanks, I got it compiling.
Didn't know about the dll referencing.

Jaak


Dan Lewis wrote:

> Hi Jaak
>
> Those classes aren't in mscorlib, they're in System.Windows.Forms. By default
> csc uses a response file called csc.rsp (you can search for it on your windows
> system) which references all non-core MS dlls.
>
> I you use csc /noconfig, you can avoid referencing these dlls and then either
> link manually with /r or provide your own response file to link with the mono
> dlls you need.
>
> Dan.
>
> Jaak Simm wrote:
> >
> >  Hi mono-list,
> >
> > I'm stubbing out some classes and have a small problem when compiling
> > them. Namely, I need to use my own (that is mono) definitions of
> > mscorlib classes instead of the original ones. Compiler by MS (csc),
> > however, uses its own base corlib by default:
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list