C# extentions

clearz

Member
Joined
Jul 21, 2003
Messages
22
Hi,

I am looking for is a way to add extentions to C# like in java were you just drop the jar file into the ext folder. I have downloaded the Windows Media Encoder sdk for c#. There is a file that came with it Interop.WMEncoderLib.dll. I think this is the file were all the magic happens (Im new to C#) what do I do with this file to be able to use the included namespaces. I am not using visual c# just the compiler and a text editor.

Thanks
John Cleary
 
You just have to add an assembly reference to that file. You do this with the /r flag on the command line:

csc myclass.cs /r:c:\path\mylib.dll
 
Back
Top