Method not found w/ System.IO.Packaging version 7.0.0
- Dominant language
- C#
- Stars
- 4.6k
- Forks
- 605
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Having an error when using with System.IO.Packaging 7.0.0
```
System.MissingMethodException
HResult=0x80131513
Message=Método não encontrado: 'System.IO.Packaging.PackageProperties DocumentFormat.OpenXml.Packaging.OpenXmlPackage.get_PackageProperties()'.
```
Downgraded to System.IO.Packaging 6.0.0 and works as spected
**Screenshots**
If applicable, add screenshots to help explain your problem.
**To Reproduce**
On init the var
```c#
var wb = new XLWorkbook(file.InputStream);
```
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Observed behavior**
A clear and concise description of what you expected to happen.
**Expected behavior**
Import the XLS from inputstream
**Desktop (please complete the following information):**
- OS: W11
- Office version: NA
- .NET Target: .NET Framework 4.6.1
- DocumentFormat.OpenXml Version: 2.20.0 w/ System.IO.Packaging 7.0.0
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.