Hi all,
I'm using VS2008, I have this line of code in my page_load and I already added PresentationCore.dll to my reference but I'm getting the error message below.
RenderTargetBitmap rtb= new RenderTargetBitmap(180, 180, 120, 96, PixelFormats.Pbgra32);
This is the error message:
The type 'System.Windows.Freezable' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Documents and Settings\tfetalvero\My Documents\Visual Studio 2008\Projects\SilverlightProject1\SilverlightProject1\Page.xaml.cs2214SilverlightProject1
Thanks