trouble building the project

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

trouble building the project
Could not load file or assembly AddinExpress.ToolbarControls.2005.dll while building the project 
myroslav rozum




Posts: 12
Joined: 2011-05-27
Hello!

When I'm trying to build the project using ant+msbuid I got the following error:
====
[exec] AddinModule.resx(250,5): error RG0000: Could not load file or assembly 'file:///C:/Program Files (x86)/Add-inExpress/Add-in Express 2008 for .NET Premium/Bin/AddinExpress.ToolbarControls.2005.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 250, position 5.
====

As I saw here on this forum, people adwised to grant full rights for that dll or add it to GAC, so I made that using
gacutil -I C:/Program Files (x86)/Add-inExpress/Add-in Express 2008 for .NET Premium/Bin/AddinExpress.ToolbarControls.2005.dll

but still have the same error. Did I miss anything? Could anyone help me with that?
Thank you!
Posted 27 May, 2011 10:11:33 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Myroslav,

Do you see AddinExpress.ToolbarControls.2005.dll in the GAC folder? Please check it.
Do you use Add-in Express 2008?
Posted 30 May, 2011 06:23:41 Top
myroslav rozum




Posts: 12
Joined: 2011-05-27
Hello Sergey, thanx for the reply.
Yes, I use Add-in Express 2008

Currently I'm trying to build the project using VS 2010 (recently tried it with 2008, since they are both installed on build station and didn't notice any issues).

Here is what I see in GAC:
=================
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>gacutil /l | find /I "addinexpress"
AddinExpress.ToolbarControls.2005, Version=4.2.465.2005, Culture=neutral, PublicKeyToken=16211aef6795d6cc, processorArchit
ecture=x86
AddinExpress.Design.2005, Version=4.4.1918.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965, processorArchitecture=M
SIL
AddinExpress.MSO.2005, Version=4.4.1918.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965, processorArchitecture=MSIL

AddinExpress.OL.2005, Version=4.4.940.2005, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8, processorArchitecture=MSIL
AddinExpress.RTD.2005, Version=4.4.1918.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965, processorArchitecture=MSIL

AddinExpress.SmartTag.2005, Version=4.4.1918.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965, processorArchitecture
=MSIL
AddinExpress.XL.2005, Version=4.4.940.2005, Culture=neutral, PublicKeyToken=e69a7e0f3592d2b8, processorArchitecture=MSIL
Posted 30 May, 2011 06:52:17 Top
myroslav rozum




Posts: 12
Joined: 2011-05-27
Strange - I see those assemblies in GAC using CLI but don't see it in "add reference" snap-in in Visual Studio.
Posted 30 May, 2011 07:39:08 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Myroslav, Add-in Express 2008 doesn't support VS2010.
Posted 30 May, 2011 11:14:40 Top
myroslav rozum




Posts: 12
Joined: 2011-05-27
got it. Thank you.
Posted 30 May, 2011 11:28:21 Top
Eugene Astafiev


Guest


Hi Myroslav,

Please note that Add-in Express 2008 is not supported any longer. Moreover, Add-in Express 2008 doesn't support Visual Studio 2010. Instead, I would recommend upgrading to the current version of Add-in Express (2010). Please use the http://www.add-in-express.com/purchase/version-upgrade.php web page for such task.
Posted 30 May, 2011 12:30:57 Top
myroslav rozum




Posts: 12
Joined: 2011-05-27
Ok. thanx! I've fainally managed to build the prokect using mixture of msbuild from .NET 3.5 and 2.0 framework. and faced the other issue, but since it's not related to this question i'm going to open another one branch.
Posted 31 May, 2011 04:21:06 Top
Eugene Astafiev


Guest


You are welcome, Myroslav!
Posted 31 May, 2011 04:25:26 Top