Thursday, December 4, 2008

.NET 2005 : Procedure to convert a .cs file to .dll file using csc compiler












1. Open the visual studio 2005 command prompt

2. Type the following command : csc /target:library /out:"<
path>.dll" "<filepath>.cs"

e.g., csc /target:library /out:"D:custom.dll" "D:custom.cs"


No comments: