All of a sudden, when I build a WinForms app with a non-empty imagelist, e.g. this sample [1], it throws a TargetInvocationException on the following code inside of InitComponents:
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList 1.ImageStream"))); The entire app was generated with the wizard and the designer. What could cause such a thing? I've repaired my OS (WinXP Pro) and repaired VS.NET. Any ideas before I remove and reinstall the runtime? Chris Sells http://www.sellsbrothers.com/ [1] http://www.sellsbrothers.com/samples/ImageListTest.zip You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.