Sunday, 15 July 2012

How to choose which Excel version is used for debugging a VSTO project with Visual Studio 2010 -



How to choose which Excel version is used for debugging a VSTO project with Visual Studio 2010 -

i have developed excel add-in visual studio 2010. when debug project, add-in loaded in microsoft excel 2010. have installed office 2013 on computer, , i'd utilize debugging project, excel 2010 still executed default.

is there way take version of excel used debugging vsto project in visual studio 2010? or can @ to the lowest degree set excel 2013 default program?

i managed take version of excel editing project properties in .csproj project file.

i changed:

<projectproperties hostname="excel" hostpackage="..." officeversion="14.0" vstxversion="4.0" applicationtype="excel" language="cs" templatespath="" debuginfoexename="#software\microsoft\office\14.0\excel\installroot\path#excel.exe" additemtemplatesguid="..." />

to:

<projectproperties hostname="excel" hostpackage="..." officeversion="15.0" vstxversion="4.0" applicationtype="excel" language="cs" templatespath="" debuginfoexename="#software\microsoft\office\15.0\excel\installroot\path#excel.exe" additemtemplatesguid="..." />.

visual-studio-2010 visual-studio vsto excel-addins office-addins

No comments:

Post a Comment