[Mono-list] forcing csc to use local definitions

Dan Lewis dihlewis@yahoo.co.uk
Wed, 8 May 2002 12:21:46 +0100 (BST)


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