Home Help Center

building ice for C#

I have been trying to build ice for c# in Visual STudio .Net 2003. However I keep getting a prebuild event failed with the following error message.

'icecpp.exe' is not recognized as an internal or external command,
operable program or batch file.

Does anyone know what I could have done wrong?

Thanks

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    You need to add the directory that contains slice2cs.exe to your path. Or, alternatively, copy slice2cs.exe to icecs/bin -- it will be found there automatically.

    Cheers,

    Michi.
  • aditiaditi Member
    well I have added slice2cs.exe to the bin folder and it still gives me this error.
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Hmmm...

    This should work. If you want to find out why it isn't working, edit Generate.cs and drop in a trace statement to show the command that is being called to invoke slice2cs.exe. Print out the value of slice2cs and cmdArgs just before the call to Process.Start. That should give you a clue as to why the command isn't found.

    Cheers,

    Michi.
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Note that you must also add icecpp.exe to your path, in addition to slice2cs.exe.
Sign In or Register to comment.