a problem when using 'Bitmapdata' in cf2.0

hi, I just updated to vs 2005 as I wanna to develop a application in a pocket pc 2003 in cf 2.0 (because I want to use Bitmapdata to manipulate image), however, I still got this error when I try to use bitmapdata:

Error 7 The type or namespace name 'BitmapData' could not be found (are you missing a using directive or an assembly reference ) C:\Documents and Settings\Ray\Desktop\1\ImageProcessing.cs 18 13 

and I already import:

using System
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;


I really wanna know how to use Bitmapdata on my pocketpc2003, i have cf 2.0 installed on my ppc, also as I am using vs 2005, so it must be a cf 2.0 project right


Always many thanks for your help!






Answer this question

a problem when using 'Bitmapdata' in cf2.0

  • Serioga

    It's just probably still referenced the CF v1 assemblies.
  • rlcowan

    No it's not possible.
  • keerti_maverick

    I see, thanks very much for you help!

  • builtsoftware

    Hi, is it easy to tell how to reference to CF v2 thanks!

  • lfonlfonlfon

    yes, it is cf 1..... is it possible to reference both



  • aendey

    Expand the references node in the Solution Explorer of your project and click on mscorlib. In the properties you should be able to see the version.
  • Tanmay D

    I just found out that if I create a new project then I can use Bitmap, if I start with my old project that used to be develop in vs 2003, cf 1.0 then I can't use bitmap, but I thought the project has converted then what is the problem

  • a problem when using 'Bitmapdata' in cf2.0