EPPlus Version-7.2.0.0 not found

EPPlus Version-7.2.0.0 not found

DOLAPO836
Explorer Explorer
991 Views
6 Replies
Message 1 of 7

EPPlus Version-7.2.0.0 not found

DOLAPO836
Explorer
Explorer

An error occurred while exporting data: Could not load file or assembly 'EPPlus, Version=7.2.0.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1' or one of its dependencies. The system cannot find the file specified.

at RevitPluginArch.Helpers.ExcelExporterSingle.ExportToExcel(List`1 data, String filePath)
at RevitPluginArch.ViewModel.Blockwork.ResultViewModel.ExportToExcel()

0 Likes
992 Views
6 Replies
Replies (6)
Message 2 of 7

reylorente1
Collaborator
Collaborator

Open your program, go into dependencies, search in package, right click and you will find the path (Open Folder .... ) double-click, find the lib folder, find the net.8.0 folder, open it, and the dll appears, copy it and put it in the Debug, of your script.

(Abre tu programa, entra en dependencias, busca en paquete, da click derecho y encontrara la ruta (Open Folder ....) dale dobleclick, busca la carpeta lib ,busca la carpeta net.8.0, lo abre, y aparece el dll, lo copia y lo pones en el Debug, de tu script)Captura de pantalla 2024-11-17 231817.pngCaptura de pantalla 2024-11-17 231830.png

0 Likes
Message 3 of 7

DOLAPO836
Explorer
Explorer

Screenshot 2024-11-17 225836.png

 My project doesn't have dependencies this is my project structure

0 Likes
Message 4 of 7

DOLAPO836
Explorer
Explorer

DOLAPO836_0-1731881141145.png

 Same issue with Google sheet also

0 Likes
Message 5 of 7

reylorente1
Collaborator
Collaborator

I have Revit 2025, so I provided you with the answer above.
I downloaded the package and it was installed in this path:
C:Usersxxx.nugetpackagesepplus7.2.2libnet8.0.
From there I copied the dll and the html, and copied it
Opening the path from my scripts.

 

 

(Yo tengo Revit 2025, por eso te proporcione la respuesta anterior.
Yo descargue el paquete y se me instalo en esta ruta:
C:\Users\xxx\.nuget\packages\epplus\7.2.2\lib\net8.0.
De ahi copie el dll y el html, y, lo copie
abriendo la ruta desde mis scripts.
)Por aqui yo abro mi scriptsPor aqui yo abro mi scripts

 

0 Likes
Message 6 of 7

scgq425
Advocate
Advocate

Hi @DOLAPO836 :

this error like the dll cant resolve . 

in  MaterialDesignThemes also has this problem , so you can use this issue to solve this .

 

Not Able to use MaterialDesignThemes -Version 5.1.0 in Revit DLL 

LanHui Xu 徐兰辉
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

Blog
LinkedIn
Revit/CAD Development | Steel Product Manager

EESignature

0 Likes
Message 7 of 7

jackmrdoctor
Contributor
Contributor

you can switch to OPEN XML SDK. It's easier. i have same problem and give up using it.

0 Likes