Skip to content

An attempt to load a workbook from a file causes the WPF program to freeze #84

@MOP3E

Description

@MOP3E

Bug description
The project is based on WPF, .NET Framework 4.8, NanoXLSX 3.0.0. An attempt to load a workbook from a file using WorkbookReader.Load causes the program to freeze.

There is no freeze in the console application.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a WPF Project.
  2. Install nuget NanoXLSX 3.0.0.
  3. Add Button into MainWindow.XAML and create the handler of Click event:
    private void Button_Click(object sender, RoutedEventArgs e)
    {
    Workbook workbook = WorkbookReader.Load("d:\\tags.xlsx"); *
    MessageBox.Show(workbook.Filename);
    }
  4. Compile project, press button and program freeze.

* Instead of "d:\\tags.xlsx" substitute the name of any existing Excel file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompletedA bug was fixed or question answered and the issue will be closed soonhow to?How does a certain function work or how can something be achieved?

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions