Microsoft Office Interop Excel Dll Version 12.0.0.0

 Posted admin
Microsoft Office Interop Excel Dll Version 12.0.0.0 Rating: 3,7/5 7324 reviews

Excel Primary Interop Assembly

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Office.Interop.Excel -Version 12.0.4518.1014
dotnet add package Microsoft.Office.Interop.Excel --version 12.0.4518.1014
<PackageReference Include='Microsoft.Office.Interop.Excel' Version='12.0.4518.1014' />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Office.Interop.Excel --version 12.0.4518.1014
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Dependencies

This package has no dependencies.

Version History

VersionDownloadsLast updated
15.0.4795.1000 1,446,916 3/10/2016
15.0.4420.1017 58,251 3/11/2016
14.0.0.1 74,740 1/14/2016
12.0.4518.1014 50,791 9/6/2016

I am updating a custom Windows Service that is currently installed on a Windows 2003 server. The service reads excel files sent to an email address, and writes to that same file. Installed on the server is Microsoft Office 2010, and the project for the original service referenced Microsoft.Office.Interop.Excel version 14.0.0.0, which is installed in the server's GAC.

Mta roleplay gamenode download youtube. I'm using Windows 8.1, developing w/ Visual Studio 2012 Ultimate, and have Office 2013 installed on my machine.

At some point while resolving some of the errors and warnings associated w/ upgrading a project from VS2010 to VS2012, the reference to the above was removed, and replaced with a reference to Microsoft Office 15.0 Object Library, which I (possibly incorrectly) assume contains a reference to Microsoft.Office.Interop.Excel version 15.0.0.0. Needless to say, the service runs fine locally, but throws an exception when installed and run on the server.

I need my project to reference version 14.

My question is, is it possible to download the appropriate Interop dll without upgrading to Office 2013 on the server, or downgrading to Office 2010 on my machine?

visual-studio-2012referencewindows-servicesoffice-interopexcel-2013
twin_vipertwin_viper

1 Answer

If you had a reference to the correct assembly already then you can probably set it back again. In your project right click on reference, add reference, then search for interop.excel on the top right of the window:

If the version 14.0.0.0 is found just enable it and disable the newer one. As you see I have the same situation with both of them on my computer.

If the search won't find the assembly you can download it here: http://www.microsoft.com/en-us/download/details.aspx?id=3508

Mitja BezenšekMitja Bezenšek

Not the answer you're looking for? Browse other questions tagged visual-studio-2012referencewindows-servicesoffice-interopexcel-2013 or ask your own question.