Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DocumentFormat.OpenXml.Packaging add as a reference

Tags:

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!

like image 899
Tyler Avatar asked Oct 31 '13 20:10

Tyler


People also ask

What is DocumentFormat OpenXml XML?

The Open XML SDK provides tools for working with Office Word, Excel, and PowerPoint documents. It supports scenarios such as: - High-performance generation of word-processing documents, spreadsheets, and presentations. - Populating content in Word files from an XML data source.

How do I open an XML image?

XML files are encoded in plaintext, so you can open them in any text editor and be able to clearly read it. Right-click the XML file and select "Open With." This will display a list of programs to open the file in. Select "Notepad" (Windows) or "TextEdit" (Mac).

Is Open XML open source?

Today MS Open Tech has announced the release of the Open XML SDK version 2.5 as open source software (Apache 2.0 license) under the stewardship of the . NET Foundation.


1 Answers

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.

like image 53
roemel Avatar answered Sep 19 '22 17:09

roemel