Home Bug Reports

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];

Comments

  • damingyipaidamingyipai Member ✭✭
    my envirment is win2000 and vs.net 2003.
  • damingyipaidamingyipai Member ✭✭
    ohh! maybe this is not the reason of the bug, but i can't build IceCS 1.5.1
    on vs.net 2003, because generate.exe result error.

    can you help me ?
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Sorry, to help you, I will need to know exactly how you invoke generate.exe(that is, what pre-build step you are using), and exactly what error message you are getting (if any). Also, it would be useful to insert some trace as the first line of generate.cs to echo the arguments that are passed to the executable.

    Cheers,

    Michi.
Sign In or Register to comment.