Make Visual Studio Debug App Correct

My workplace is making the transition from Office 2010 to 2013. There are several VSTO add-ons that have been built internally. I am working on testing them. On my dev machine, I have 2010 and 2013 installed, so I can check things out, but also still support 2010 stuff.

I also have Visual Studio 2010. When I launch the debugger, it launches Office 2010. I was trying to figure out where the target application is installed in the VSTO add-in. 2013 installs as the default app for the machine as a whole, and loads add-ons in 2013 when I install it. I just need a debugger to run 2013 when I run it.

If I really need to, I can delete 2010 and keep another machine for this purpose, but it looks like I need a little tweak. However, I definitely searched Google. The best I've found is this: http://www.greycastle.se/vsto-project-office-target-version/ but a) it doesn't say WHERE it is, and b) it's from 3 years ago, I don't know if I got an answer if I asked.

Any ideas? Any help?

+3


source to share


1 answer


Right click on VSTO project -> Properties -> Debug. In the Run External Program section, select the executable you want to run.



When I test different versions, I just replace "Office14" with "Office15" as all other paths remain the same (this switches from Office 2010 to Office 2013).

+2


source







All Articles