Archived
This forum has been archived. Please start a new discussion on GitHub.
The IceCS generate.exe bug in Generate.cs from line 24 to 32
damingyipai
in Bug Reports
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];
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];
0
Comments
-
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.0
