Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reference Microsoft.Office.Core (office.dll) in .Net Core

Tags:

.net

.net-core

How to reference Microsoft.Office.Core (office.dll)

(C:\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\PIA\Office12\office.dll)

in .Net Core (full framework)?

like image 478
Pedro Fernandes Filho Avatar asked Nov 09 '22 08:11

Pedro Fernandes Filho


1 Answers

So this is a bit of a known pain point in the current tooling. For now, you need to pack the DLL into a nuget package, add the location of that package to your nuget sources and install it that way. It's a bit of work for a DLL you don't maintain, but it seems to be working.

like image 78
Feasoron Avatar answered Dec 15 '22 00:12

Feasoron