My guess is that you are picking up the DLLs out of (pending if you
used setup or zip file) the Redist directory. Those are the desktop
dlls, they contain async operation support, which is not available on
windows mobile (hence that warning).
Can you double check that the assemblies you are using are from the
Redist/Mobile/WindowsMobile subdirectory?
Frank Mantek
Google
On Jan 25, 2009, at 6:50 PM, Jerius wrote:
>
> In order to facilitate finding the origin of the problem, here is my
> code:
>
> using System;
> using System.Linq;
> using System.Collections.Generic;
> using System.ComponentModel;
> using System.Data;
> using System.Drawing;
> using System.Text;
> using System.Windows.Forms;
>
> using Google.GData.Client;
> using Google.GData.Contacts;
> using Google.GData.Extensions;
>
> namespace EssaiAppliMobile
> {
> public partial class MainWindow : Form
> {
> // Create new Service
> static ContactsService cs = new ContactsService
> ("GoogleContact");
>
> public MainWindow()
> {
> InitializeComponent();
> }
>
> }
> }
>
> I tried to compile the same project using Compact Framework 2.0, but I
> get the following exception :
>
> System.MissingMethodException was unhandled
> Message: Could not load type 'System.Threading.SendOrPostCallback'
> from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=969DB8053D3322AC'.
>
> I don't know what to do... I need your help!
>
> Thanks
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---