.NET core 3.0 and MS Office Interop

前端 未结 3 1385
说谎
说谎 2020-11-30 14:08

I am trying to use the recently-released .NET core with MS Office using the interop assemblies

I\'ve got a minimal project file



        
3条回答
  •  春和景丽
    2020-11-30 14:34

    The Interop Assemblies are not compatible with .NET Core. You have to use the full framework.

    See also this GitHub Issue

    If you want to programmatically create Office documents, you might want to take a look at the Office OpenXML SDK.

提交回复
热议问题