View Single Post
  #1 (permalink)  
Old 08-11-2004
damingyipai damingyipai is offline
Registered User
 
 
Join Date: Jan 2004
Posts: 59
The IceCS generate.exe bug in Generate.cs from line 24 to 32

the parameters is four, but the source forgot this,
it remember 3 only, you just change line 24 - 32:

if(args.Length < 3)
{
Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
Environment.Exit(1);
}
string solDir = args[0];
string projDir = args[1];
string projName = args[2];

to follow:

if(args.Length < 4)
{
Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
Environment.Exit(1);
}
string solDir = args[1];
string projDir = args[2];
string projName = args[3];
Reply With Quote