Another VSTO dev tip

Office will only load managed code assemblies which are fully trusted by the .Net CAS policy. When developing a VSTO solution, Visual Studio tweaks the CAS policy to allow Office to load the VSTO assemblies from a default <projectname>_bin folder under the solution folder. Attempting to run the VSTO from any other location (local or…

0

VSTO 2003 Development Tip

One of the more annoying aspects of developing a VSTO solution is debugging deployment issues.  The Office host application (Word/Excel) often returns error messages along the lines of:   “Can’t find or load the <assembly> assembly in <url>”, or:   “The custom macros in <url> could not be initialized correctly”   These wonderfully unhelpful messages…

2