Building and deploying dll style assemblies (Was:RE: [Mono-devel-list] Stupid novice question)

Jonathan Pryor jonpryor at
Fri Mar 7 16:36:23 EST 2003

The difference between winexe and exe?  Under Mono, I would assume that
there is no difference.  Under csc, a winexe target will cause the
executing program to "detach" from the command line.

For example, type "notepad.exe" from the Windows command interpreter
(cmd.exe,  Notice that the prompt returns immediately, not
waiting for notepad.exe to exit.  That's what a winexe target does.

As for installation, just placing the DLL in the same directory as its
executable should work.

Note that .NET-style shared assemblies (strong-names, etc.) are not
supported by Mono at present.  The benefit of this is you don't need to
worry about their complexity. :-)

 - Jon

On Fri, 2003-03-07 at 10:37, Aleksey Sudakov wrote:
> > Actually it can produce the following targets:
> > exe
> > winexe
> > library
> > module
> >
> > The first three are all assemblies ( library is a dll style assembly not
> > a c syle static library ) and module is a netmodule - a sub part of a
> > multi-module assembly. I'm not sure what you mean by "true assembly"
> So I guessed it right that I should use "library" target to build dll style
> assembly and "module" to build modules ("static libraries") to link into the
> other 3 assembly targets that mcs takes. (Just out of curriosity what's the
> difference between "exe" and "winexe" targets?)
> Now, once library is built where should it be installed (and is there any
> extra steps apart from just copying something.dll into some location) to
> become available to mono?
> Thanks,
> Aleksey
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at

More information about the Mono-devel-list mailing list