Ken Laws of Microsoft writes the following: "Once Visual Studio 2005 is installed you may encounter problems debugging your VSTO 2003 project from within Visual Studio 2003. This is again a result of Microsoft Office loading the project in the 2.0 Framework. A couple of options that you have for debugging would be to convert the project to a VSTO 2005 project and you could then debug using Visual Studio 2005 or you could also implement an app config file to force Microsoft Office to load the project in the 1.1. Framework."
This is the format of the configuration file:
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
</startup>
</configuration>
This fragment should be saved in an XML file saved at this path:
%Program Files%\\Microsoft Office\\OFFICE11\\WINWORD.EXE.CONFIG
For more details, see "Targeting a .NET Framework Version" at:
http://msdn.microsoft.com/library/
en-us/cpguide/html/cpcontargetingnetframeworkversion.asp