Skip to content

使用这个方法XlsxFileResult,却提示我引用net5.0类库? #430

@cicna

Description

@cicna

Expected behaviour

1、我的环境是net 6、abp 5.3.3
2、安装了Magicodes.IE.Excel.Abp、Magicodes.IE.Excel.AspNetCore类库
当使用这个方法return new XlsxFileResult(stream: fs, "活动报名信息表.xlsx");时,却提示我引用net5.0类库?

Actual behaviour

Tell us what happens instead. Provide a log message if relevant.

I'm seeing this behaviour on

Remove this hint: these checkboxes can be checked like this: [x]

  • Magicodes.IE.Excel
    Magicodes.IE.AspNetCore

package versions

Example: Magicodes.IE.Excel 2.6.4

So how can we reproduce this?

Remove this hint: Pick one of these - use the Preview feature of this editor to get a sense which option we like best

Awesome ⭐⭐⭐⭐⭐

Provide a (link to a) minimal demo app showing the faulty behaviour.

Sweet ⭐⭐⭐⭐

Provide a concise code sample which can upload attachments.

Good ⭐⭐⭐

Provide your own app and instructions how to reproduce the issue.

Meh ⭐⭐

Provide a code sample with a bunch of magic parameters which I need to interpolate by guessing to reconstruct the actual runtime code.

Worst 💩

Say the source code can't be disclosed and refuse to provide any of the above. Expect this issue to be closed by a bunch of angry aliens 👽👽👽👽👽 that will hunt you down and 🔥 your 💻. You've been warned. 🚒

Activity

hueifeng

hueifeng commented on Aug 16, 2022

@hueifeng
Member

Hi,你可以发一下相关的异常信息吗,例如截图?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cicna@hueifeng

        Issue actions

          使用这个方法XlsxFileResult,却提示我引用net5.0类库? · Issue #430 · dotnetcore/Magicodes.IE