Add-On Migration from .NET Framework 3.5, 32 Bit to .NET Framework 4, 64 Bit

Tobias Frei


i am trying to migrate an add-on from a compatible version working with .net framework 3.5 32 bit to .NET 4, 64 Bit.


What i tried so far:


taken versions of loader.dll, sapbobscom.dll, sapbuoicom.dll, swissaddonframework.dll vs


In project properties of vs 2010, i set platform and platform target to "Any CPU" (in build-tab) and target framework to ".NET Framework 4" in "Application" tab.


The project compiles like a charm (only getting some errors to substitute some obsolete methods), but when i try to start debugging i get the fowllong error.


+        InnerException    {"Could not load file or assembly 'SAPbobsCOM, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"SAPbobsCOM, Version=, Culture=neutral, PublicKeyToken=null"}    System.Exception {System.IO.FileNotFoundException}


I deleted all the references and reestablished them, but without success. The error keeps popping up. Any ideas why the system persists on the version instead of taking the correct Also cleaning the solution and app/dll had no success.


Any help would be highly appreciated.






Had that one too. For the references "SAPbobsCOM" and "SAPbouiCOM" set the property "Interop-type embeded" (in german it's "Interop-Typen einbetten") to false. Maybe also for "Loader" and "SwissAddonFramework", don't know exectly.




Please sign in to leave a comment.

Didn't find what you were looking for?

New post