compiling CSLA using csc.exe

compiling CSLA using csc.exe

Old forum URL: forums.lhotka.net/forums/t/2678.aspx


rayc posted on Wednesday, April 11, 2007

I just downloaded CSLA.
I would now like to compile CSLA using the command line compiler (csc.exe).

Has anyone been able to do it? I'm not sure what compiler options to use.

Thanks!

Ray

 

RockfordLhotka replied on Thursday, April 12, 2007

That's not something I've tried to do. But you could use VS and turn on all the verbosity for building, and I think they then output the csc calls in the output window. You could copy-paste from there to get them.

Another option may be to use msbuild rather than calling csc directly. msbuild reads sln and csproj files, and uses that information to invoke the compiler - so you get command-line behavior without having to do all the work yourself.

Copyright (c) Marimer LLC