Microsoft Vbe Interop Version 14.0 0.0 Download

-->

Failed to load file or assembly 'Microsoft.Office.Interop.Excel, Version = 14.0.0.0 I have web-site that uses MS Excel files read/write. I added related dll's to Bin folder of the site, and it works perfect on my local host (I think bacause I have installed MS Excel 2010 on my pc) But when I uploaded it to remote pc and run the site. Dotnet add package Microsoft.Office.Interop.Outlook -version 14.0.0 Version='14.0.0' / For projects that support PackageReference, copy this XML node into the project file to reference the package. Locate your Windows operating system version in the list of below 'Download Policy.14.0.Microsoft.Vbe.Interop.dll Files'. Click the appropriate 'Download Now' button and download your Windows file version. Copy this file to the appropriate Microsoft Office Professional Plus 2013 folder location. In my solution I had under references, Microsoft.Office.Core. Microsoft.Office.Tools.Excel Microsoft.Office.Tools.Excel.v9.0. I kept the first one but removed the last two because I use access but not excel. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research! Asking for help, clarification,.

To use the features of a Microsoft Office application from an Office project, you must use the primary interop assembly (PIA) for the application. The PIA enables managed code to interact with a Microsoft Office application's COM-based object model.

Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model. Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.

When you create a new Office project, Visual Studio adds references to the PIAs that are required to build the project. In some scenarios, you might need to add references to additional PIAs (for example, if you want to use a feature of Microsoft Office Word in a project for Microsoft Office Excel).

This topic describes the following aspects of using the Microsoft Office PIAs in Office projects:

For more information about primary interop assemblies, see Primary interop assemblies.

Separate primary interop assemblies to build and run projects

Visual Studio uses different sets of the PIAs on the development computer. These different sets of assemblies are in the following locations:

  • A folder in the program files directory

    These copies of the assemblies are used when you write code and build projects. Visual Studio installs these assemblies automatically.

  • The global assembly cache

    These copies of the assemblies are used during some development tasks, such as when you run or debug projects. Visual Studio does not install and register these assemblies; you must do this yourself.

Primary interop assemblies in the program files directory

When you install Visual Studio, the PIAs are automatically installed to a location in the file system, outside of the global assembly cache. When you create a new project, Visual Studio automatically adds references to these copies of the PIAs to your project. Visual Studio uses these copies of the PIAs, instead of the assemblies in the global assembly cache, to resolve type references when you develop and build your project.

These copies of the PIAs help Visual Studio avoid several development issues that can occur when different versions of the PIAs are registered in the global assembly cache.

Starting with Visual Studio 2017, these copies of the PIAs are installed to following shared locations on the development computer:

  • %ProgramFiles%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA

  • (or %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA on 64-bit operating systems)

Note

For older versions of Visual Studio, these PIAs will be installed to the Visual Studio Tools for OfficePIA folder under the %ProgramFiles% folder for that version of Visual Studio.For Example: %ProgramFiles(x86)%Microsoft Visual Studio 14.0Visual Studio Tools for OfficePIA

Primary interop assemblies in the global assembly cache

To perform certain development tasks, the PIAs must be installed and registered in the global assembly cache on the development computer. Typically, the PIAs are installed automatically when you install Office on the development computer. For more information, see Configure a computer to develop Office solutions.

The Office PIAs are not required on end-user computers to run Office solutions. For more information, see Design and create Office solutions.

Use features of multiple Microsoft Office applications in a single project

Every Office project template in Visual Studio is designed to work with a single Microsoft Office application. To use features in multiple Microsoft Office applications, or to use features in an application or component that does not have a project in Visual Studio, you must add a reference to the required PIAs.

In most cases, you should add references to the PIAs that are installed by Visual Studio under the %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA directory. These versions of the assemblies appear on the Framework tab of the Reference Manager dialog box. For more information, see How to: Target Office applications through primary interop assemblies.

If you have installed and registered the PIAs in the global assembly cache, these versions of the assemblies appear on the COM tab of the Reference Manager dialog box. You should avoid adding references to these versions of the assemblies, because there are some development issues that can occur when you use them. For example, if you have registered different versions of the PIAs in the global assembly cache, your project will automatically bind to the version of the assembly that was registered last—even if you specify a different version of the assembly on the COM tab of the Reference Manager dialog box.

Note

Some assemblies are added to a project automatically when an assembly that references them is added. For example, references to the Office.dll and Microsoft.Vbe.Interop.dll assemblies are added automatically when you add a reference to the Word, Excel, Outlook, Microsoft Forms, or Graph assemblies.

0.0

Primary interop assemblies for Microsoft Office applications

The following table lists the primary interop assemblies that are available for Office 2016, Office 2013 and Office 2010.


Office application or componentPrimary interop assembly name
Microsoft Access 14.0 Object Library
Microsoft Access 15.0 Object Library
Microsoft.Office.Interop.Access.dll
Microsoft Office 14.0 Access Database Engine Object Library
Microsoft Office 15.0 Access Database Engine Object Library
Microsoft.Office.Interop.Access.Dao.dll
Microsoft Excel 14.0 Object Library
Microsoft Excel 15.0 Object Library
Microsoft.Office.Interop.Excel.dll
Microsoft Graph 14.0 Object Library (used by PowerPoint, Access, and Word for graphs)
Microsoft Graph 15.0 Object Library
Microsoft.Office.Interop.Graph.dll
Microsoft InfoPath 2.0 Type Library (for InfoPath 2007 only)Microsoft.Office.Interop.InfoPath.dll
Microsoft InfoPath XML Interop Assembly (for InfoPath 2007 only)Microsoft.Office.Interop.InfoPath.Xml.dll
Microsoft Office 14.0 Object Library (Office shared functionality)
Microsoft Office 15.0 Object Library (Office shared functionality)
office.dll
Microsoft Office Outlook View Control (can be used in Web pages and applications to access your Inbox)Microsoft.Office.Interop.OutlookViewCtl.dll
Microsoft Outlook 14.0 Object Library
Microsoft Outlook 15.0 Object Library
Microsoft.Office.Interop.Outlook.dll
Microsoft PowerPoint 14.0 Object Library
Microsoft PowerPoint 15.0 Object Library
Microsoft.Office.Interop.PowerPoint.dll
Microsoft Project 14.0 Object Library
Microsoft Project 15.0 Object Library
Microsoft.Office.Interop.MSProject.dll
Microsoft Publisher 14.0 Object Library
Microsoft Publisher 15.0 Object Library
Microsoft.Office.Interop.Publisher.dll
Microsoft SharePoint Designer 14.0 Web Object Reference LibraryMicrosoft.Office.Interop.SharePointDesigner.dll
Microsoft SharePoint Designer 14.0 Page Object Reference LibraryMicrosoft.Office.Interop.SharePointDesignerPage.dll
Microsoft Smart Tags 2.0 Type Library Note: Smart tags are deprecated in Excel 2010 and Word 2010.Microsoft.Office.Interop.SmartTag.dll
Microsoft Visio 14.0 Type Library
Microsoft Visio 15.0 Type Library
Microsoft.Office.Interop.Visio.dll
Microsoft Visio 14.0 Save As Web Type Library
Microsoft Visio 15.0 Save As Web Type Library
Microsoft.Office.Interop.Visio.SaveAsWeb.dll
Microsoft Visio 14.0 Drawing Control Type Library
Microsoft Visio 15.0 Drawing Control Type Library
Microsoft.Office.Interop.VisOcx.dll
Microsoft Word 14.0 Object Library
Microsoft Word 15.0 Object Library
Microsoft.Office.Interop.Word.dll
Microsoft Visual Basic for Applications Extensibility 5.3Microsoft.Vbe.Interop.dll

Binding redirect assemblies

When you install and register the Office PIAs in the global assembly cache (either with Office or by installing the redistributable package for the PIAs), the binding redirect assemblies are also installed only in the global assembly cache. These assemblies help make sure that the correct version of the primary interop assemblies is loaded at run time.

For example, when a solution that references a Office 2010 assembly runs on a computer that has the Office 2013 version of the same primary interop assembly, the binding redirect assembly instructs the .NET Framework runtime to load the Office 2013 version of the primary interop assembly.

For more information, see How to: Enable and disable automatic binding redirection.

See also

-->

Pour utiliser les fonctionnalités d'une application Microsoft Office dans un projet Office, vous devez utiliser l'assembly PIA (Primary Interop Assembly) de l'application.To use the features of a Microsoft Office application from an Office project, you must use the primary interop assembly (PIA) for the application.L'assembly PIA permet au code managé d'interagir avec le modèle d'objet COM d'une application Microsoft Office.The PIA enables managed code to interact with a Microsoft Office application's COM-based object model.

Notes

Vous souhaitez développer des solutions qui étendent l’expérience Office sur plusieurs plateformes ?Interested in developing solutions that extend the Office experience across multiple platforms?Consultez le nouveau modèle des compléments Office.Check out the new Office Add-ins model.Les compléments Office ont un faible encombrement par rapport aux compléments et solutions VSTO, et vous pouvez les créer en utilisant presque toutes les technologies de programmation Web, telles que HTML5, JavaScript, CSS3 et XML.Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.

Quand vous créez un projet Office, Visual Studio ajoute des références aux assemblys PIA requis pour générer le projet.When you create a new Office project, Visual Studio adds references to the PIAs that are required to build the project.Dans certains scénarios, vous devrez peut-être ajouter des références à des assemblys PIA supplémentaires (par exemple, si vous voulez utiliser une fonctionnalité de Microsoft Office Word dans un projet pour Microsoft Office Excel).In some scenarios, you might need to add references to additional PIAs (for example, if you want to use a feature of Microsoft Office Word in a project for Microsoft Office Excel).

Cette rubrique décrit les aspects suivants de l'utilisation des assemblys PIA Microsoft Office dans des projets Office :This topic describes the following aspects of using the Microsoft Office PIAs in Office projects:

Pour plus d’informations sur les assemblys PIA, consultez Assemblys PIA ( Primary Interop Assembly).For more information about primary interop assemblies, see Primary interop assemblies.

Séparer les assemblys PIA pour générer et exécuter des projetsSeparate primary interop assemblies to build and run projects

Visual Studio utilise différents ensembles d'assemblys PIA sur l'ordinateur de développement.Visual Studio uses different sets of the PIAs on the development computer.Ces différents ensembles d'assemblys se trouvent aux emplacements suivants :These different sets of assemblies are in the following locations:

  • Un dossier dans le répertoire Program FilesA folder in the program files directory

    Ces copies des assemblys sont utilisées quand vous écrivez du code et que vous générez des projets.These copies of the assemblies are used when you write code and build projects.Visual Studio installe ces assemblys automatiquement.Visual Studio installs these assemblies automatically.

  • Global Assembly CacheThe global assembly cache

    Ces copies des assemblys sont utilisées pendant certaines tâches de développement, par exemple quand vous exécutez ou déboguez des projets.These copies of the assemblies are used during some development tasks, such as when you run or debug projects.Visual Studio n'installe ni n'enregistre ces assemblys. Vous devez le faire vous-même.Visual Studio does not install and register these assemblies; you must do this yourself.

Assemblys PIA dans le répertoire Program FilesPrimary interop assemblies in the program files directory

Quand vous installez Visual Studio, les assemblys PIA sont automatiquement installés dans le système de fichiers, en dehors du Global Assembly Cache.When you install Visual Studio, the PIAs are automatically installed to a location in the file system, outside of the global assembly cache.Quand vous créez un projet, Visual Studio ajoute automatiquement à votre projet des références à ces copies des assemblys PIA.When you create a new project, Visual Studio automatically adds references to these copies of the PIAs to your project.Visual Studio utilise ces copies des assemblys PIA, au lieu des assemblys du Global Assembly Cache, pour résoudre des références de type quand vous développez et générez votre projet.Visual Studio uses these copies of the PIAs, instead of the assemblies in the global assembly cache, to resolve type references when you develop and build your project.

Ces copies des assemblys PIA aident Visual Studio à éviter plusieurs problèmes de développement pouvant se produire quand différentes versions d'assemblys PIA sont enregistrées dans le Global Assembly Cache.These copies of the PIAs help Visual Studio avoid several development issues that can occur when different versions of the PIAs are registered in the global assembly cache.

À compter de Visual Studio 2017, ces copies des assemblys PIA sont installées vers les emplacements partagés suivants sur l’ordinateur de développement :Starting with Visual Studio 2017, these copies of the PIAs are installed to following shared locations on the development computer:

  • %ProgramFiles%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA

  • (ou %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA sur les systèmes d’exploitation 64 bits)(or %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA on 64-bit operating systems)

Microsoft Vbe Interop Version 14.0 0.0 Download

Notes

Pour les versions antérieures de Visual Studio, ces assemblys PIA seront installés dans le dossier Visual Studio Tools pour OfficePIA sous le %ProgramFiles% dossier de cette version de Visual Studio.For older versions of Visual Studio, these PIAs will be installed to the Visual Studio Tools for OfficePIA folder under the %ProgramFiles% folder for that version of Visual Studio.Par exemple : %ProgramFiles(x86)%Microsoft Visual Studio 14.0Visual Studio Tools for OfficePIAFor Example: %ProgramFiles(x86)%Microsoft Visual Studio 14.0Visual Studio Tools for OfficePIA

Assemblys PIA dans le Global Assembly CachePrimary interop assemblies in the global assembly cache

Pour effectuer certaines tâches de développement, les assemblys PIA doivent être installés et enregistrés dans le Global Assembly Cache sur l'ordinateur de développement.To perform certain development tasks, the PIAs must be installed and registered in the global assembly cache on the development computer.En général, les assemblys PIA sont installés automatiquement quand vous installez Office sur l'ordinateur de développement.Typically, the PIAs are installed automatically when you install Office on the development computer.Pour plus d’informations, consultez configurer un ordinateur pour développer des solutions Office.For more information, see Configure a computer to develop Office solutions.

Les assemblys PIA Office ne sont pas obligatoires sur les ordinateurs des utilisateurs finaux pour exécuter les solutions Office.The Office PIAs are not required on end-user computers to run Office solutions.Pour plus d’informations, consultez conception et création de solutions Office.For more information, see Design and create Office solutions.

Utiliser les fonctionnalités de plusieurs applications de Microsoft Office dans un projet uniqueUse features of multiple Microsoft Office applications in a single project

Tous les modèles de projet Office dans Visual Studio sont conçus pour fonctionner avec une seule application Microsoft Office.Every Office project template in Visual Studio is designed to work with a single Microsoft Office application.Pour utiliser des fonctionnalités dans plusieurs applications Microsoft Office ou dans une application ou composant qui ne dispose pas d'un projet dans Visual Studio, vous devez ajouter une référence aux assemblys PIA requis.To use features in multiple Microsoft Office applications, or to use features in an application or component that does not have a project in Visual Studio, you must add a reference to the required PIAs.

Dans la plupart des cas, vous devez ajouter des références aux assemblys PIA installés par Visual Studio dans le %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA répertoire.In most cases, you should add references to the PIAs that are installed by Visual Studio under the %ProgramFiles(x86)%Microsoft Visual StudioSharedVisual Studio Tools for OfficePIA directory.Ces versions des assemblys apparaissent sous l’onglet Framework de la boîte de dialogue Gestionnaire de références .These versions of the assemblies appear on the Framework tab of the Reference Manager dialog box.Pour plus d’informations, consultez Comment : cibler des applications Office par le biais d’assemblys PIA.For more information, see How to: Target Office applications through primary interop assemblies.

Si vous avez installé et enregistré les assemblys PIA dans le Global Assembly Cache, ces versions des assemblys apparaissent sous l'onglet COM de la boîte de dialogue Gestionnaire de références .If you have installed and registered the PIAs in the global assembly cache, these versions of the assemblies appear on the COM tab of the Reference Manager dialog box.Vous devez éviter d'ajouter des références à ces versions d'assemblys, car des erreurs de développement peuvent se produire quand vous les utilisez.You should avoid adding references to these versions of the assemblies, because there are some development issues that can occur when you use them.Par exemple, si vous avez enregistré différentes versions des assemblys PIA dans le Global Assembly Cache, votre projet crée automatiquement une liaison à la dernière version enregistrée de l'assembly, même si vous spécifiez une autre version de l'assembly sous l'onglet COM de la boîte de dialogue Gestionnaire de références .For example, if you have registered different versions of the PIAs in the global assembly cache, your project will automatically bind to the version of the assembly that was registered last—even if you specify a different version of the assembly on the COM tab of the Reference Manager dialog box.

Interop

Notes

Certains assemblys sont ajoutés manuellement à un projet quand un assembly qui leur fait référence est ajouté.Some assemblies are added to a project automatically when an assembly that references them is added.Par exemple, les références aux Office.dllMicrosoft.Vbe.Interop.dll assemblys et sont automatiquement ajoutées lorsque vous ajoutez une référence aux assemblys Word, Excel, Outlook, Microsoft Forms ou Graph.For example, references to the Office.dll and Microsoft.Vbe.Interop.dll assemblies are added automatically when you add a reference to the Word, Excel, Outlook, Microsoft Forms, or Graph assemblies.

Assemblys PIA pour les applications Microsoft OfficePrimary interop assemblies for Microsoft Office applications

Le tableau suivant répertorie les assemblys PIA disponibles pour Office 2016Office 2016 , Office 2013Office 2013 et Office 2010Office 2010 .The following table lists the primary interop assemblies that are available for Office 2016Office 2016, Office 2013Office 2013 and Office 2010Office 2010.


Microsoft.vbe.interop

Application ou composant OfficeOffice application or componentNom de l'assembly PIAPrimary interop assembly name
Bibliothèque d'objets Microsoft Access 14.0Microsoft Access 14.0 Object Library
Bibliothèque d'objets Microsoft Access 15.0Microsoft Access 15.0 Object Library
Microsoft.Office.Interop.Access.dllMicrosoft.Office.Interop.Access.dll
Bibliothèque d'objets du moteur de base de données Microsoft Office Access 14.0Microsoft Office 14.0 Access Database Engine Object Library
Bibliothèque d'objets du moteur de base de données Microsoft Office Access 15.0Microsoft Office 15.0 Access Database Engine Object Library
Microsoft.Office.Interop.Access.Dao.dllMicrosoft.Office.Interop.Access.Dao.dll
Bibliothèque d'objets Microsoft Excel 14.0Microsoft Excel 14.0 Object Library
Bibliothèque d'objets Microsoft Excel 15.0Microsoft Excel 15.0 Object Library
Microsoft.Office.Interop.Excel.dllMicrosoft.Office.Interop.Excel.dll
Bibliothèque d'objets Microsoft Graph 14.0 (utilisée par PowerPoint, Access et Word pour les graphiques)Microsoft Graph 14.0 Object Library (used by PowerPoint, Access, and Word for graphs)
Bibliothèque d'objets Microsoft Graph 15.0Microsoft Graph 15.0 Object Library
Microsoft.Office.Interop.Graph.dllMicrosoft.Office.Interop.Graph.dll
Bibliothèque de types Microsoft InfoPath 2.0 (uniquement pour InfoPath 2007)Microsoft InfoPath 2.0 Type Library (for InfoPath 2007 only)Microsoft.Office.Interop.InfoPath.dllMicrosoft.Office.Interop.InfoPath.dll
Assembly d'interopérabilité XML Microsoft InfoPath (uniquement pour InfoPath 2007)Microsoft InfoPath XML Interop Assembly (for InfoPath 2007 only)Microsoft.Office.Interop.InfoPath.Xml.dllMicrosoft.Office.Interop.InfoPath.Xml.dll
Bibliothèque d'objets Microsoft Office 14.0 (composant partagé Office)Microsoft Office 14.0 Object Library (Office shared functionality)
Bibliothèque d'objets Microsoft Office 15.0 (composant partagé Office)Microsoft Office 15.0 Object Library (Office shared functionality)
office.dlloffice.dll
Contrôle view Microsoft Office Outlook (peut être utilisé dans les pages web et applications pour accéder à votre Boîte de réception)Microsoft Office Outlook View Control (can be used in Web pages and applications to access your Inbox)Microsoft.Office.Interop.OutlookViewCtl.dllMicrosoft.Office.Interop.OutlookViewCtl.dll
Bibliothèque d'objets Microsoft Outlook 14.0Microsoft Outlook 14.0 Object Library
Bibliothèque d'objets Microsoft Outlook 15.0Microsoft Outlook 15.0 Object Library
Microsoft.Office.Interop.Outlook.dllMicrosoft.Office.Interop.Outlook.dll
Bibliothèque d'objets Microsoft PowerPoint 14.0Microsoft PowerPoint 14.0 Object Library
Bibliothèque d'objets Microsoft PowerPoint 15.0Microsoft PowerPoint 15.0 Object Library
Microsoft.Office.Interop.PowerPoint.dllMicrosoft.Office.Interop.PowerPoint.dll
Bibliothèque d'objets Microsoft Project 14.0Microsoft Project 14.0 Object Library
Bibliothèque d'objets Microsoft Project 15.0Microsoft Project 15.0 Object Library
Microsoft.Office.Interop.MSProject.dllMicrosoft.Office.Interop.MSProject.dll
Bibliothèque d'objets Microsoft Publisher 14.0Microsoft Publisher 14.0 Object Library
Bibliothèque d'objets Microsoft Publisher 15.0Microsoft Publisher 15.0 Object Library
Microsoft.Office.Interop.Publisher.dllMicrosoft.Office.Interop.Publisher.dll
Bibliothèque de références d'objet web Microsoft SharePoint Designer 14.0Microsoft SharePoint Designer 14.0 Web Object Reference LibraryMicrosoft.Office.Interop.SharePointDesigner.dllMicrosoft.Office.Interop.SharePointDesigner.dll
Bibliothèque de références d'objet Page Microsoft SharePoint Designer 14.0Microsoft SharePoint Designer 14.0 Page Object Reference LibraryMicrosoft.Office.Interop.SharePointDesignerPage.dllMicrosoft.Office.Interop.SharePointDesignerPage.dll
Bibliothèque de types Microsoft Smart Tags 2,0 Note : les balises actives sont dépréciées dans Excel 2010Excel 2010 et Word 2010Word 2010 .Microsoft Smart Tags 2.0 Type Library Note: Smart tags are deprecated in Excel 2010Excel 2010 and Word 2010Word 2010.Microsoft.Office.Interop.SmartTag.dllMicrosoft.Office.Interop.SmartTag.dll
Bibliothèque de types Microsoft Visio 14.0Microsoft Visio 14.0 Type Library
Bibliothèque de types Microsoft Visio 15.0Microsoft Visio 15.0 Type Library
Microsoft.Office.Interop.Visio.dllMicrosoft.Office.Interop.Visio.dll
Bibliothèque de types Enregistrer en tant que page web Microsoft Visio 14.0Microsoft Visio 14.0 Save As Web Type Library
Bibliothèque de types Enregistrer en tant que page web Microsoft Visio 15.0Microsoft Visio 15.0 Save As Web Type Library
Microsoft.Office.Interop.Visio.SaveAsWeb.dllMicrosoft.Office.Interop.Visio.SaveAsWeb.dll
Bibliothèque de types de contrôles de dessin Microsoft Visio 14.0Microsoft Visio 14.0 Drawing Control Type Library
Bibliothèque de types de contrôles de dessin Microsoft Visio 15.0Microsoft Visio 15.0 Drawing Control Type Library
Microsoft.Office.Interop.VisOcx.dllMicrosoft.Office.Interop.VisOcx.dll
Bibliothèque d'objets Microsoft Word 14.0Microsoft Word 14.0 Object Library
Bibliothèque d'objets Microsoft Word 15.0Microsoft Word 15.0 Object Library
Microsoft.Office.Interop.Word.dllMicrosoft.Office.Interop.Word.dll
Microsoft Visual Basic for Applications Extensibility 5.3Microsoft Visual Basic for Applications Extensibility 5.3Microsoft.Vbe.Interop.dllMicrosoft.Vbe.Interop.dll

Assemblys de redirection de liaisonBinding redirect assemblies

Quand vous installez et enregistrez les assemblys PIA Office dans le Global Assembly Cache (avec Office ou en installant le package redistribuable pour les assemblys PIA), les assemblys avec redirection de liaison sont également installés uniquement dans le Global Assembly Cache.When you install and register the Office PIAs in the global assembly cache (either with Office or by installing the redistributable package for the PIAs), the binding redirect assemblies are also installed only in the global assembly cache.Ces assemblys permettent de s’assurer que la version correcte des assemblys PIA est chargée au moment de l’exécution.These assemblies help make sure that the correct version of the primary interop assemblies is loaded at run time.

Par exemple, quand une solution faisant référence à un assembly Office 2010Office 2010 s'exécute sur un ordinateur disposant de la version Office 2013Office 2013 du même assembly PIA, l'assembly avec redirection de liaison indique au runtime .NET Framework.NET Framework de charger la version Office 2013Office 2013 de l'assembly PIA.For example, when a solution that references a Office 2010Office 2010 assembly runs on a computer that has the Office 2013Office 2013 version of the same primary interop assembly, the binding redirect assembly instructs the .NET Framework.NET Framework runtime to load the Office 2013Office 2013 version of the primary interop assembly.

Microsoft.vbe.interop Version 14.0.0.0

Pour plus d’informations, consultez Comment : activer et désactiver la redirection de liaison automatique.For more information, see How to: Enable and disable automatic binding redirection.

Microsoft.vbe.interop Version 15.0.0.0

Voir aussiSee also