Export (0) Print
Expand All

Namespace Considerations in Office Solutions

Note Required applications

The features in this topic are available only if you have the required applications installed.

For more information, see Features Available by Product Combination.

  • One of these development environments:

    VSTO 2005

    -or-

    Visual Studio Team System

  • Microsoft Office 2003

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 Properties in Visual Studio Tools for Office Projects.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft