I try to create an excel add-in using VS 2010. When I create a new project Excel 2010 Addin, and try to compile the solution. I get an error which says.
We have VS2013 installed on the build slaves, so we fixed the issue by doing the following:
go to C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\OfficeTools and open theMicrosoft.VisualStudio.Tools.Office.targets file.