|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Namespace Considerations in Office Solutions
The features in this topic are available only if you have the required applications installed.
For more information, see.
You cannot change the root namespace (in Visual Basic) or the default namespace (in C#) after you create a project. The namespace will match the name of the project. When you create a project, use the name you want for your project namespace.
Host Item Namespace in C# Projects
Host items in C# projects have their own namespaces. By default, the host item namespace is based on the name of the project.
Use the Namespace for Host Item property to change the namespace of the host item. For more information, see.