TargetInvocationException

  • Thread starter Thread starter sklett
  • Start date Start date
S

sklett

I have read ALL the pots on google groups, tried their suggestions and I
still am getting this exception and it's driving me MAD :0(

The line throwing the exception
<code>
this.Tree_Images.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("Tree_Images.ImageStream")));
</code>

I did have a devenv.exe.manifest file(don't know if that's normal) and I
deleted it. same problem.
I have done a clean and rebuild, still the problem exists.

Anyone have any new ideas for me?

Thanks in advance!
Steve
 
sklett said:
I have read ALL the pots on google groups, tried their suggestions and I
still am getting this exception and it's driving me MAD :0(

The line throwing the exception
<code>
this.Tree_Images.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("Tree_Images.ImageStream")));
</code>

I did have a devenv.exe.manifest file(don't know if that's normal) and I
deleted it. same problem.

Rebuild the form.
 
Or do anything that causes the resx to re-generatd after the manifest file
is deleted. That seemed to work for me.
What a lame bug ;(

Thanks for your reply,
Steve
 
Back
Top