2.0 framework incompatibility

Add-in Express™ Support Service
That's what is more important than anything else

2.0 framework incompatibility
Framework 3.5 method usage in addin code. 
Oleh Petrov




Posts: 65
Joined: 2010-05-11
Hi

Our add-in project is targeting 2.0 .Net framework. But lately we have started receiving complaints from customers that our app is trying to use 3.5 framework method:

************** Exception Text **************
System.Exception: Method not found: 'Boolean System.Threading.WaitHandle.WaitOne(Int32)'. - ADXContainerPane.WndProc(f; 0; 0) - ADXContainerPaneOL.WndProc(f; 0; 0)
at AddinExpress.Extensions.AdxContainerPaneOL.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Can it be corrected to use 2.0 framework abilities only? (Since there is only 2.0 framework in addin requirements)
(I'm not sure weather it is related to devex controls or addin, so if it is in addin - please reply)

Thanks.
Posted 03 Mar, 2011 11:23:01 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Oleh,

The mentioned method was added to .net framework 2.0 by the service pack. Now you have two possible ways of resolution:

1. Install the latest service packs for OS and .net framework.
2. Soon we will publish a new build of Add-in Express 2010 with a fix.

Which way do you prefer?
.NET, Extended MAPI, Windows Phone & RT
Posted 03 Mar, 2011 13:02:31 Top
Oleh Petrov




Posts: 65
Joined: 2010-05-11
Hi

Of course I do prefer the second solution because I cant tell all the customers to install service packs.

Thanks.
Posted 04 Mar, 2011 05:35:58 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Oleh,

Please check out your Inbox. I have just sent an e-mail with a link for download.
.NET, Extended MAPI, Windows Phone & RT
Posted 04 Mar, 2011 05:55:15 Top
Hannes Koidl




Posts: 310
Joined: 2008-05-19
Hi Eugene,

i have the same problem now. Is there a fix available?
Posted 07 Mar, 2011 08:19:29 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Hannes,

I have just sent an e-mail with a link for download. Please see your Inbox.
.NET, Extended MAPI, Windows Phone & RT
Posted 07 Mar, 2011 08:29:03 Top
Bryan




Posts: 30
Joined: 2009-12-09
Oleh Petrov wrote:
2. Soon we will publish a new build of Add-in Express 2010 with a fix.


When will this fix be available? We have not yet encountered this issue, but we too are targeting .NET 2.0 and we can't control which service packs our customers have installed.
Posted 08 Mar, 2011 10:02:04 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Bryan,

It will be published on our web site in a week or two. Temporarily I can provide you with an intermediate build of Add-in Express 2010.
.NET, Extended MAPI, Windows Phone & RT
Posted 09 Mar, 2011 06:08:08 Top
Sarah QM7




Posts: 1
Joined: 2011-03-28
Hi Eugene,
One of our customers reported this error.
How could I restore this scenario to be sure that the new version fix it?
Thanks.
Posted 28 Mar, 2011 07:00:49 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Sarah,

1. Please find the 'Method not found' exception was thrown when an advanced task pane or an advanced Outlook region was used on a PC where SP2 for NET Framework 2.0 was not installed. entry on the Latest News page of our web site.

2. To be sure, you can install a previous public build of Add-in Express 2010.
.NET, Extended MAPI, Windows Phone & RT
Posted 28 Mar, 2011 07:19:48 Top