Article ID: 824003 - View products that this article applies to.
This step-by-step article describes how to change the name of an assembly or how to change the namespace of an assembly for a managed code extension that you create with Microsoft Visual Studio Tools for the Microsoft Office System.
To change the name for your assembly or the namespace for your assembly, you must modify properties in the Office project and then rebuild the assembly.
If you instead try to modify the assembly name in Microsoft Windows Explorer by renaming the assembly file, or if you do not change the Office Integration attribute after you change the Root Namespace property in the project, you may receive the following error message when the managed code extension is loaded in Microsoft Word or in Microsoft Excel:
The assembly <assembly name> could not be found at .\<assembly location>\ or could not be loaded. You can still edit and save the document. Contact your administrator or the author of this document for further assistance.
To correctly change the assembly name or the assembly namespace for your managed code extension, follow these steps:
For additional information about how to grant permissions to folders and to assemblies and about how to troubleshoot in Office at runtime, see the documentation for Visual Studio Tools for the Microsoft Office System.
Article ID: 824003 - Last Review: February 3, 2006 - Revision: 1.5
Contact us for more help
Connect with Answer Desk for expert help.