Microsoft Office Excel Interop Usage, Copier vers le mode local

Nous prévoyons utiliser Microsoft.Office.Interop.Excel dll dans une application de service Windows pour créer des rapports Excel.

Les propriétés de la dll sont définies sur "Copier vers local" et "Intégrer des types d'interopérabilité sur false". Cela garantit que le dll est placé dans le dossier bin où le binary est créé.

Mais, ma question est de savoir si nous pouvons utiliser le mode "Copier vers local" dans une application. Vira-t-il une licence Microsoft si la dll fait partie de Microsoft Office?

Veuillez confirmer.

Il a été mon expérience que vous ll need Microsoft Office installed on the target computer to use the Interop. The Interop creates an Excel ActiveX object. That ActiveX object is not part of the Interop, but part of Microsoft Office. There ll need Microsoft Office installed on the target computer to use the Interop. The Interop creates an Excel ActiveX object. That ActiveX object is not part of the Interop, but part of Microsoft Office. There ll need Microsoft Office installed on the target computer to use the Interop. The Interop creates an Excel ActiveX object. That ActiveX object is not part of the Interop, but part of Microsoft Office. There pas de problème de licence car l'user a dû acheter une licence pour installer Microsoft Office.