Skip to content
Piotr edited this page Dec 5, 2013 · 1 revision

Targets: Assembly; AllowMultiple: false

RootPathAttribute is used to decorate assembly with default path where assembly output (php files and resources) will be stored.

Example

[assembly: Lang.Php.RootPath("/lib/mylibrary")]

If library decorated like in example above is compiled to output directory "C:\phpfiles" then all files will be saved in "C:\phpfiles\lib\mylibrary" folder.

Clone this wiki locally