Upgrading from 2008 to 2010

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

Upgrading from 2008 to 2010
Problems upgrading from Add-In-Express Office VSTO 2008 to Add-In-Express Office VSTO 2010 
Brendan Fry




Posts: 4
Joined: 2009-01-16
We are upgrading from Add-In-Express Office VSTO 2008 to Add-In-Express Office VSTO 2010 start supporting office 2010.

I have un-installed 2008 and installed 2010.

I then replaced the AddinExpress.OL.VSTO.2005 and AddinExpress.VSTO dlls in the solution and re-released the application.

Please help!
Posted 16 May, 2011 09:30:21 Top
Brendan Fry




Posts: 4
Joined: 2009-01-16
Exeption details:

Detailed technical information follows:
---
(Inner Exception)
(Inner Exception)
Date and Time: 2011/05/16 02:34:56 PM

Application Domain: UI.vsto
Assembly Codebase: file:///C:/Users/xxxx/AppData/Local/Apps/2.0/1Q4CWPWN.PRW/ER7A3L9K.3GM/osir..vsto_60379f9fb25a9344_0002.0009_d8ccdb10c2a7fa94/AddinExpress.VSTO.DLL
Assembly Full Name: AddinExpress.VSTO, Version=4.4.3515.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 4.4.3515.0
Assembly Build Date: 2011/05/16 02:16:25 PM

Exception Source: AddinExpress.OL.VSTO.2005
Exception Type: System.Exception
Exception Message: Outlook version is not defined. SetOutlookVersion.
Exception Target Site: SetOutlookVersion

---- Stack Trace ----
AddinExpress.OL.ADXOlFormsManager.SetOutlookVer sion()
AddinExpress.VSTO.DLL: N 0271 (0x10F) IL
AddinExpress.OL.ADXOlFormsManager.DoAddinInitialize(sender As Object, ea As EventArgs)
AddinExpress.VSTO.DLL: N 0050 (0x32) IL
AddinExpress.OL.ADXOlFormsManager.AddinInitialize(sender As Object, e As EventArgs)
AddinExpress.VSTO.DLL: N 0000 (0x0) IL
Posted 16 May, 2011 09:31:50 Top
Eugene Astafiev


Guest


Hi Brendan,

Do you get any errors or exceptions? Could you please describe the issue you faced with in details?
Posted 16 May, 2011 09:32:51 Top
Eugene Astafiev


Guest


Hi Brendan,

Ohhh... Now I see. It looks like you forgot to replace the AddinExpress.VSTO.dll reference if your add-in project with a new one. Am I right?
Posted 16 May, 2011 09:34:40 Top
Brendan Fry




Posts: 4
Joined: 2009-01-16
Ahhh, doh! Can't believe I fell for one of my oldest errors!!!

Set the AddinExpress dlls as Copy Local so ClickOnce knows to add them to the deployment.

Thanks for the replies Eugene they helped spark a long dead memory!
Posted 16 May, 2011 09:40:23 Top
Eugene Astafiev


Guest


You are welcome, Brendan!
Posted 16 May, 2011 09:45:40 Top