VSTO project with multiple versions of office installed

血红的双手。 提交于 2019-12-05 11:38:09

You shouldn't need to install Office 2007 to create Office 2007 add-ins. I think the problem here is that you're missing the proper VSTO components.

Make sure you've installed the following:

If any of these are already installed then I recommend repairing their installations.

Try disabling this option:

Options > Office Tools > Project Upgrade > Always upgrade to installed version of Office (more info here)

I don't think this solves the root problem which is that you shouldn't even be prompted to upgrade your project. I still suspect that there is something wrong with the installation of your VSTO-related components (see my other answer for that info). However this may be an easy workaround.

To be clear, you can develop Office 2007 add-ins without having Office 2007 installed. I'm doing so right now without having to follow this workaround.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!