-
Compiling C# dll
When I compile my C# class into a dll to work with VB.NET I do the following: (from the command line)
Code:
C:\>csc /nologo /t:library /out:myClass.dll myClass.cs
is there an easier way to compile it into a dll without having to add all of those switches???
something like:
Code:
C:\>csc /out:myClass.dll myClass.cs
I know the above doesn't work, but is there an easier way? (using the command line to compile, not the IDE)
-
Easier? Why not just make a batch file?
you also dont need /nologo and you dont need /out
-
Load your class file with console proj , set the debug type to release , run your proj as exe , get your dll file from bin folder .