Could not load file or assembly 'DocumentFormat.OpenXml

后端 未结 7 1519
时光说笑
时光说笑 2021-01-08 01:15

I\'m keep getting this error is VS2013

Could not load file or assembly \'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31b

7条回答
  •  醉梦人生
    2021-01-08 01:55

    I had this problem because I had a new version of the .dll installed on my computer running on localhost and my server was running an old version of the same .dll

    I just updated it and everything works well after that.

    In your case, install the DocumentFormat.OpenXml version 2.5 available in this microsoft link

提交回复
热议问题