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

Announcements

News and Announcements icon
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
    239,680 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
    239,680 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans