Compiling CLR without Visual Studio

To Compile a VB or C# module as a CLR routine.

In a dos prompt

csc  /out:UserDefinedFunctions.dll /target:library userdefinedsourcefile.cs

vbc  /out:UserDefinedFunctions.dll /target:library userdefinedsourcefile.vb

Not that this doesn’t give you the benefits of tracing that you get using visual studio but there are cases where a clr routine is faster to write (I’m thinking string manipulation here) than the equivalent inline code