Tyler
Tyler

Reputation: 882

DocumentFormat.OpenXml.Packaging add as a reference

I try to add the DocumentFormat.OpenXml.Packaging reference in Visual Studio 2012. But if I go to "Reference" > "Add reference" there is not reference like this. I was googling the whole evening but still don't find it. Often I saw that I have to look at ".NET" tab in references. But there is no tab called ".NET". Can someone please help me to get out of this dumb situation?

Thanks!

Upvotes: 23

Views: 50227

Answers (3)

Amrik
Amrik

Reputation: 456

OfficeOpenXml and ExcelPackage is part of this package.

Upvotes: 1

Chong Ching
Chong Ching

Reputation: 445

https://www.nuget.org/packages/DocumentFormat.OpenXml/

Nu get: type in the below

Install-Package DocumentFormat.OpenXml

Upvotes: 1

roemel
roemel

Reputation: 3297

Go to your Solution Explorer > right click on references and then click Manage NuGet Packages. Then search in tab "Online" for DocumentFormat.OpenXml and install it. After you can use DocumentFormat.OpenXml.

Upvotes: 50

Related Questions