Link to home
Start Free TrialLog in
Avatar of Ess Kay
Ess KayFlag for United States of America

asked on

VS2012 to VS2013 ImageList bug

So the problem is like this. My project was in VS 2012

I installed to VS2013 and opened the project.

Any form which had ImageList inside it, the designer will no longer open

User generated image

If i click the error it takes me to lines witgh imagelist
User generated image
the errors are refferences root unavailable or index not found (for image list)

User generated image

this all worker prior to 2013, and running the programalso works, but editing the forms in design mode does not work.

Please help
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

It looks like you had some issues converting the project. Do you have a References node available in your project? Are you able to expand it and see references? Same with resources?
Avatar of Ess Kay

ASKER

imagelist1 is never inside the refernces node. its probably pcked inside the references.dll somewhere



If i run the project, all the images work


the refernces root node unavailable points to this message

   Me.imageList1.ImageStream = CType(resources.GetObject("imageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)


the images are clearly there, and you can see them at runtime

All 29 of them for this form
User generated image
Yes I know imagelist would not be in References. I was basing my suggestion on error message.
Do you have option strict ON ? turn it off.
Avatar of Ess Kay

ASKER

Figured it out
ASKER CERTIFIED SOLUTION
Avatar of Ess Kay
Ess Kay
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ess Kay

ASKER

Thanks for playing