Toolbar issue - Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral....

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

Toolbar issue - Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral....
Happens in both ADX 2008 and 2010 if .NET Framework 4.0 client profile is installed.  
nleung leung




Posts: 7
Joined: 2010-06-30
Hello,

Here is the problem. The toolbar will give the "Could not load file or assembly" error if .NET Framework 4.0 client profile is installed, even my target framework is 3.5 and client machine has 3.5 full version installed.

I have tried to build the project with Visual Studio 2008 with ADX 2008, and VS 2010 with ADX 2010. Both combination give the same error as long as the 4.0 client profile is installed.

It seems that the toolbar will look for the System.Web reference from the 4.0 client profile even if it is targeted to .NET Framework 3.5. Currently the only way to get around it is to install 4.0 full version.

Has anybody experienced the same issue?

Thanks!
Posted 07 Jul, 2010 20:56:45 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi nleung,

Please see http://www.add-in-express.com/forum/read.php?FID=5&TID=7613.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Jul, 2010 01:51:49 Top