Skip to content

namespace

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Sets the root namespace of a project.

namespace ("name")

By default, the root namespace for a project which match the target (assembly) name. This function allows you to override that default.

Currently, this is only applicable to Visual Studio C# projects.

Parameters

name is the desired root namespace for the project.

Applies To

Projects.

Availability

Premake 5.0 or later.

Examples

project "MyProject"
   namespace "MyCompany.MyProject"
Clone this wiki locally