Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
Type or namespace 'DocumentFormat' could not be found

Solved 1 Answers 226 Views Others
0 1
I am developing a project in Visual Studio. I imported my project from Git and I am getting below error during performing build operation.

Type or namespace 'DocumentFormat' could not be found.

Its a brand new computer and Visual Studio installed.

1 Answer

0
Best answer
0

Depending on your requirements and environment, you need to match the PowerTools and OpenXML SDK versions.

PowerTools 2.2 (which right now is the default download on codeplex) uses DocumentFormat.OpenXml version 2.0.5022.0 which comes with OpenXml SDK 2.0.
This project is built on .NET Framework 3.5.

PowerTools for OpenXML 3.0 version 3.* (also available to download at https://powertools.codeplex.com/releases/view/74771) uses DocumentFormat.OpenXml version 2.5.5631.0 which comes with OpenXml SDK 2.5.
This project is built on .NET Framework 4.0+.

 

answered by (151 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...