Archived

This forum has been archived. Please start a new discussion on GitHub.

visual studio add-in (ICE 3.4.2) generated code error

command-line slice2sl.exe entity.ice correct, but visual studio add-in automatically generated code error

The Ice Visual Studio Add-in has raised an unexpected exception:
System.ArgumentOutOfRangeException: Index out of range, must be non-negative and less than the size of the collection

Comments

  • xdm
    xdm La Coruña, Spain
    Hi Andrew

    For Silverlight projects with 3.4.2 add-in you must set ICE_SL_HOME environment variable. It must be assigned to the path of your Ice for Silverlight installation root directory.

    Remember to restart Visual Studio after you have set the environment variable.

    Let us know if this solve your problems