UNIT6-open / TemplateEngine.Docx

Smart docx template engine for .NET
Other
406 stars 137 forks source link

Hard reference to DocumentFormat.OpenXml v2.5.0 #42

Open amsterjanis opened 6 years ago

amsterjanis commented 6 years ago

The current Nuget package (v1.1.4) lists the following dependancy:

DocumentFormat.OpenXml (>= 2.5.0)

but upgrading DocumentFormat.OpenXml to a newer version (ex. 2.7,2) causes a runtime exception:

System.IO.FileNotFoundException: 'Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'