Groups | Blog | Home
all groups > dotnet sdk > august 2003 >

dotnet sdk : Compiling files using csc.exe


Mattias Sjögren
8/13/2003 11:37:44 AM
Cindy,

[quoted text, click to view]

No, that's not necessary.


[quoted text, click to view]

Just list both files.

csc /o Main.cs ClassA.cs



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Cin
8/13/2003 5:59:36 PM
Hi,

I have two files:

ClassA.cs and Main.cs

I need to use ClassA in the Main.cs file inside another class (and so
there seems to be a dependency). How do I do that? Do I need to provide
a namespace and then "using" it? How do I then compile these two files
at the same time from the commandline (I have plenty of other files and
I don't want to do: csc *.cs /o)

Please help. Thanks

Cindy
AddThis Social Bookmark Button