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

Tobias Frei

Hi,


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 9.0.0.0 versions of loader.dll, sapbobscom.dll, sapbuoicom.dll, swissaddonframework.dll vs 3.0.0.0.


 


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=8.8.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"SAPbobsCOM, Version=8.8.0.0, 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 8.8.0.0 instead of taking the correct 9.0.0.0? Also cleaning the solution and app/dll had no success.


 


Any help would be highly appreciated.


 


Tobias


 


 


Konstantin

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.


0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post