web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 and problem with ClosedXML release 0.75 vs 0.92

(0) ShareShare
ReportReport
Posted on by

Hi All

I tried to use ClosedXML DLL release 0.75 for Excel files creation and it was working great.

I downloaded already built DLL (do not built it myself)  in ver 0.75, put it into /bin of AOS and client, registered with GAC and added as reference in AOT.

Was great and produced many files since I wanted to put picture into Excel sheet, as I found pictures/BMP are not really supported in that version of DLL.

So I switched to v. 0.92 and installed it in same way as 0.75. Unfortunatelly after that I could not compile my code, as it looks like reference is missing and I could not find and objects in inteliSense, even as basic as below

 ClosedXML.Excel.XLWorkbook      workBook;
 ClosedXML.Excel.IXLWorksheet    worksheet;

so I went back to 0.75 - no issues, everything compiled perfectly

switched  again to  0.92, and then 0.90 - cannot compile it.

any ideas please?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Make sure that you've also installed all prerequisites for v0.92. The assembly may fail to load if it can't load assemblies it depends on. The Assembly Binding Log Viewer can help you with these things.

    Also, have you updated the reference in AOT?

  • Community Member Profile Picture
    on at

    I did updated AOT but skipped prerequisites.

    one of that is DocumentFormat.OpenXml (>= 2.7.2)

    can I find DLL somwhere or I have to build it myself?

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    You get its NuGet package here.

    If you wish, you can download the package, unzip it and grab the DLL, rather then installing the package in the usual way.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans