问题
When I create a Excel 2010 Add-in project in Visual Studio 2010, and configure my prerequisite publish options for click once deployment, the 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) option item, has a warning indicator over the icon, which screen tip says "Prerequisite could not be found for bootstrapping". Once I try to publish, it publishes fine, however, I get the warning:
"Item 'Microsoft.VSTORuntime.4.0' could not be located in 'C:\Program Files\Microsoft SDKs\Windows\v8.0A\Bootstrapper\'."
I've tried re-installing the VSTO 4.0 Runtime to resolve this with no luck. Any ideas how to fix this warning?




回答1:
Have you got Visual Studio 11 installed, bootstrapper should be here C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper
I got VS2010 with Windows 7 ultimate.
来源:https://stackoverflow.com/questions/10250475/excel-addin-click-once-deployment-issue