VS2012 to VS2013 ImageList bug

Ess Kay
Ess Kay used Ask the Experts™
on
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

err

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

error

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

Please help
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014

Commented:
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?

Author

Commented:
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
count of 29
Most Valuable Expert 2012
Top Expert 2014

Commented:
Yes I know imagelist would not be in References. I was basing my suggestion on error message.
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Do you have option strict ON ? turn it off.

Author

Commented:
Figured it out
Commented:
Had to close all IDEs,  reopen project

Author

Commented:
Thanks for playing

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial