[MonoDevelop] single file compile?

Todd Berman tberman@off.net
Thu, 12 Aug 2004 14:27:35 -0400


On Thu, 2004-12-08 at 13:24 -0500, Fawad Halim wrote:
> Without having looked at the SharpDevelop code, it seems that 
> SharpDevelop seems to do the equivalent of
> 
> msc Foo.cs

The problem is that on windows, w/ the csc.rsp file, a lot of assemblies
are included by default. mcs does not do this. This is potentially a
compat issue we should discuss w/ mcs, but I'm not sure.

> 
> i.e. just link against the default set of assemblies (like mscorlib, 
> System), and the target is exe. So, you couldn't for example make a 
> one-file Windows form app, or reference System.EnterpriseServices in it.
> 
> I think that's a good enough behavior because a file-only compile would 
> likely be throwaway code for testing something.

Sounds good, there is some existing framework for this, and I'm looking
forward to reviewing a patch ;)

--Todd