Can't locate Microsoft.Office.Interop.Word in Reference List

后端 未结 5 814
盖世英雄少女心
盖世英雄少女心 2020-12-09 03:47

I was given this solution to a problem I had, since I didn\'t know how to integrate MS Word with C#: http://www.dotnetperls.com/word

I looked into this solution, and

5条回答
  •  佛祖请我去吃肉
    2020-12-09 04:35

    You may also use NuGet Package Manager in order to install the reference. Go to Project -> Manage NuGet Packages... Search for "Interop.Word" and install that package.

    Good thing about it is that you don't need to think about where the dll is located. When another person will check out the solution, NuGet will get all needed packages onto their machine.

提交回复
热议问题