Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
1.8k views
in Others by
retagged by
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 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer

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+.

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...