Question about the IceCS generate.exe

in Help Center
generate.cs:
string solDir = args[0];
string projDir = args[1];
string projName = args[2];
Is it the solDir will store the solution directory path ? but the args[0] is the executable file path, is it right ?
string solDir = args[0];
string projDir = args[1];
string projName = args[2];
Is it the solDir will store the solution directory path ? but the args[0] is the executable file path, is it right ?
0
Comments
I change the generate.cs 38 line like follow, then build ok:
const string slicePat = @*.ice;
string sliceDir = Path.Combine( solDir, "slice" );
sliceDir = Path.Combine( sliceDir, projName );
string[] sliceFiles = Directory.GetFiles( sliceDir, slicePat );
Right. With C#, you have to use to get the name of the exeuctable.
I don't understand... Why do you want to change generate.cs? It's meant to work as is, without modification. What distribution are you using? The source distribution or the binary distribution?
Cheers,
Michi.
Sorry, It's my failed.
after every time I build IceCS 1.5.1 on vs.net 2003,
"PreBuildEvent.bat" File is always in "bin" directory,
I feel something wrong, but this is "pre build event" only. :-)
I don't know why MS don't delete it after build progress...