?
Solved

Visual C# OfficeOpenXml could not be found

Posted on 2011-09-21
1
Medium Priority
?
4,373 Views
Last Modified: 2013-12-17
I got a setup file and source codes for a program.
The program created by the setup file runs fine.

But there are errors when using VS2010 to run the source codes, refer below.

What is the likely cause for the error,  do I need to install Open Office or get a dll?


Error	1	The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)	C:\Documents and Settings\User\Desktop\position monitoring\position monitoring\Source code\PositionMonitoring (2008)\PositionMonitoring (2008)\arrows\frmMain.cs	11	7	PositionMonitoring
Error	2	The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)	C:\Documents and Settings\User\Desktop\position monitoring\position monitoring\Source code\PositionMonitoring (2008)\PositionMonitoring (2008)\arrows\frmExcelExport.cs	13	7	PositionMonitoring
Error	3	The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)	C:\Documents and Settings\User\Desktop\position monitoring\position monitoring\Source code\PositionMonitoring (2008)\PositionMonitoring (2008)\arrows\frmExcelExport.cs	14	7	PositionMonitoring
Error	4	The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?)	C:\Documents and Settings\User\Desktop\position monitoring\position monitoring\Source code\PositionMonitoring (2008)\PositionMonitoring (2008)\arrows\frmExcelExport.cs	15	7	PositionMonitoring
Warning	5	The primary reference "EPPlus, Version=2.7.0.1, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "EPPlus, Version=2.7.0.1, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL" or retarget your application to a framework version which contains "WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".	PositionMonitoring

Open in new window

0
Comment
Question by:Heidi_Lee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1000 total points
ID: 36577936
That might be referring to EPPlus.

Create advanced Excel 2007/2010 spreadsheets on the server
http://epplus.codeplex.com/
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question