Home Help Center

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

therainmantherainman Member liuzhen andrewOrganization: Shanghai Fudan UniversityProject: silverlight web game,Ice is middleware
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

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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
Sign In or Register to comment.