Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interop.Shell32 issue
Message
De
20/07/2010 04:43:01
 
 
À
20/07/2010 03:12:03
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01473054
Message ID:
01473060
Vues:
33
>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
Fil
Voir

Click here to load this message in the networking platform