Versions des environnements
Network:
Windows 2003 Server
>Since my PC has moved from XP Pro to Windows 7, when I compile my Web site project, additionnally to the DLL being created, the Bin directory will also inherit from Interop.Shell32.dll because the Web site project makes use of another DLL which includes the Microsoft Shell Controls and Automation library. The problem however is since I move to a new OS, when I run the Web site, I obtain:
>
>"Could not load file or assembly 'Interop.Shell32' or one of its dependencies. An attempt was made to load a program with an incorrect format."
>
>Of course, if I remove Interop.Shell32.dll from the Bin directory, the Web site will work ok.
>
>The change occured at the same time I adjusted the target of the Framework project to match the 4.0 framework instead of 3.51. So, maybe there is a corelation in there.
>
>So, the goal here is to succeed in compile the client project, which inherits from the Interop.Shell32.dll file without having the error when the site runs.
>
>It goes like:
>
>1. Project #1 Bin directory
>
>Framework.dll
>Interop.Shell32.dll
>
>2. Project #2 Bin directory
>LevelExtreme.dll
>Framework.dll
>Interop.Shell32.dll
>
>Because LevelExtreme.dll requires Framework.dll, it will then inherit of Interop.Shell32.dll in its Bin directory.
>
>So, this causes me a problem which I have no idea how to resolve it.
What version is the LevelExtreme project targetting?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement