I have both VS 2008 and VS 2010 installed on my Win7 box. But for sometime I’m getting this strange error:
Type System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a cannot be located.
I’m not able to put any buttons on toolstrips or modify many other properties of normal controls (like textboxes).
I have googled for it but different people got error for different reasons and none resolved my problem. Please help me.
Found out at last. Don’t know if this was entirely my mistake or there is something else also to this. It happened that I created a project in VS2008 and added some resource images to it, then I upgraded it to VS2010 and added some resource images to it. Now when I again reverted back to VS2008 it started facing the problem of
Type cannot be located error.To resolve I had to open the resource file and delete all the missing (or with error) resource images and re-add them (in VS2008).