dotnet / dotnet/wpf

When exporting data into excel, we are exception thrown on Microsoft Interop Excel in Net Core 3.1

Open
#6,836 1 comment 0 reactions 0 assignees View on GitHub
Question
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

* .NET Core Version: (e.g. 3.0 Preview1, or daily build number, use `dotnet --info`)
* Windows version: (`winver`)
* Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes/No
* Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? If yes, please file the issue via the instructions [here](https://docs.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2019).
* Security issues and bugs should be reported privately, learn more via our [responsible disclosure guidelines](https://github.com/dotnet/wpf/blob/main/README.md#reporting-security-issues-and-security-bugs).



**Problem description:**
When exporting data into excel, we are facing the exception is thrown on Microsoft Interop Excel in Net Core 3.1, the same code works fine in WPF Framework.

**Actual behavior:**

![Screenshot (327)](https://user-images.githubusercontent.com/61176526/179983193-fe061322-5058-4736-9fd8-0f0dbab07ae2.png)

**Expected behavior:**
It should work correctly.

**Minimal repro:**

[GanttWPF_Core.zip](https://github.com/dotnet/wpf/files/9149808/GanttWPF_Core.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.