.Net Beta2 Command Line Compiler
Hi Folks
Has anyone ever used (does it exist?) the command line compiler with .Net (Beta2). I want to compile some c# files that I got from a master detail datagrid tutorial (Doug Stevens a la Dot Net Junkies) http://www.aspnextgen.com/tutorials.aspx?tutorialid=135
When I asked doug how to get the code running this was his reply...
.....Just copy the files to a directory, which is set up as a Virtual Directory
in IIS, and compile the code behind file. The Virtual Directory should be
set up with a \bin directory:
For example:
C:\Inetpub\wwwroot\MasterDetail\
--.aspx & .cs/.vb files are here
C:\Inetpub\wwwroot\MasterDetail\bin\
--.dll's will go here
Use a command line compiler similar to the following command:
[for C#]
csc /t:library /out:C:\Inetpub\wwwroot\MasterDetail\bin\MasterDetail.dll
/r:System.dll,System.Data.dll,System.Xml.dll,System.Web.dll
C:\Inetpub\wwwroot\MasterDetail\*.cs
[for VB.NET]
vbc /t:library /out:C:\Inetpub\wwwroot\MasterDetail\bin\MasterDetail.dll
/r:System.dll,System.Data.dll,System.Xml.dll,System.Web.dll
C:\Inetpub\wwwroot\MasterDetail\*.vb
Now you should be able to browse to the CustomerOrdersDataGrid.aspx Web
Form.
Is there such a command line compiler with .Net. Whats the syntax?
Cheers Folks