Results 1 to 2 of 2

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

  1. #1
    therainman is offline Registered User
    Name: liuzhen andrew
    Organization: Shanghai Fudan University
    Project: silverlight web game,Ice is middleware
    Join Date
    Jun 2011
    Posts
    9

    Unhappy 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

  2. #2
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 11-10-2011, 09:45 AM
  2. Replies: 5
    Last Post: 05-31-2011, 08:53 PM
  3. Visual studio add-in doesnt work somehow in vs2010
    By cloudwafancy in forum Help Center
    Replies: 2
    Last Post: 05-31-2011, 09:52 AM
  4. Ice Visual Studio Add-in 3.4.1.2 released
    By mes in forum Announcements
    Replies: 0
    Last Post: 01-20-2011, 04:40 PM
  5. Visual Studio Plugin, Auto Generate code
    By Nisd in forum Comments
    Replies: 1
    Last Post: 07-31-2009, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •