This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/namespace.md
2021-03-12 22:10:24 +01:00

33 lines
512 B
Markdown

Sets the root namespace of a project.
```lua
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 ###
```lua
project "MyProject"
namespace "MyCompany.MyProject"
```